From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: Replacement of data disk
Date: 1999/02/02 [thread overview]
Message-ID: <795h05$ppr$1@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 78trqc$fpd9@hkpa05.polyu.edu.hk
In article <78trqc$fpd9@hkpa05.polyu.edu.hk>, "Alexander K. M. Leung" <kmleung@fg702-6.abct.polyu.edu.hk> writes:
>
>
> The data disk in our DEC Alpha 3000 workstation was damaged. I have
>purchased a disk to replace it. Can anyone give me the correct procedures to
>partition, format and mount the disk back to the system. The hard disk is a
>1.05GB RZ26L-VA hard disk. The OS in our workstation is DEC Unix 3.2c.
Digital UNIX supports two local file system and you have said which
you were using. I haven't clue how you had the disk partitioned, so
I can't offer much detail on how to restore the partition table. So,
allowing for what little information you're provided:
a. Label the disk. Being a data disk you don't need to worry about
the boot block (which are different for the two file systems),
but it doesn't hurt to get it right. If you had UFS on the
disk:
# disklabel -wr /dev/rrz#c whatever
For AdvFS:
# disklabel -wr -t advfs /dev/rrz#c whatever
In place of the "whatever" you can put the disk type. Or, for
well behaved and supported disks, use whatever you want and the
disklabel command will get the geometry and default partition
table from the driver. For the '#' in the device, use the
appropriate unit number:
# = (bus * 8) + SCSI-id
2. To repartition:
# disklabel -e /dev/rrz#c
3. Create the file system. For UFS:
# newfs /dev/rrz#x
Here, I again use '#' for the device number number. I also
use an 'x' for the partition letter will be one of a though
h. If you used the whole disk it was probably 'c'.
For AdvFS:
# mkfdmn /dev/rz#c domain-name
# mkfset domain-name fileset-name
4. Mounting the file system, for UFS:
# mount /dev/rz#x /mnt/wherever
For AdvFS:
# mount -t advfs domain-name#fileset-name /mnt/wherever
>Thank.
>
>--
>
> Name: Dr. Alexander K. M. Leung
> \|/ Address: Dept. of Appl. Bio. and Chem. Tech.,
> {. .} The Hong Kong Polytechnic University,
>_______oOO-(_)-OOo___________ Hung Hom, Kowloon, Hong Kong. __________
> o
>Tel.:(852)-2766 5635 E-mail: kmleung@fg702-6.abct.polyu.edu.hk
>Fax.:(852)-2364 9932 URL: http://fg702-6.abct.polyu.edu.hk/~kmleung
>
>
>
--
Alan Rollow alan@nabeth.cxo.dec.com
prev parent reply other threads:[~1999-02-02 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-30 5:00 Replacement of data disk Alexander K. M. Leung
1999-02-02 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox