From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8fe18b6b00440219 X-Google-Attributes: gid1164f8,public 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 Message-ID: <795h05$ppr$1@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 439564143 Distribution: world References: <78trqc$fpd9@hkpa05.polyu.edu.hk> Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.sys.dec In article <78trqc$fpd9@hkpa05.polyu.edu.hk>, "Alexander K. M. Leung" 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