From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,700ee063b8e0e9e4 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,700ee063b8e0e9e4 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: harddisk problem Date: 1996/10/18 Message-ID: <546j3i$c6s@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 190169560 distribution: world references: <3264C665.167E@rug.ac.be> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.unix.osf.osf1,comp.sys.dec In article <3264C665.167E@rug.ac.be>, Stefan Rombouts >On our system (DEC AXP 3000-600 running OSF/1 V3.0) we had a disk-crash. >The harddisk which contained the / and /usr partition is lost and now >replaced by a new harddisk. But we also have a second harddisk, where >most of the user-directories are stored. We do not want to lose these >data, so before we reinstall the system, could somebody please tell me: > >- Is there a risk that the data on this second disk might be lost > when we reinstall the system on the first disk? Yes, but the risk is a very small one. The installation will probably not be aware that you had data on that disk and it will offer it in the device menu for installation just like the replaced system disk. But, the installation won't do anything that you haven't told it to do. As long as you don't accidently tell it to put a file system on that disk, the installation procedure won't. Thus, the risk is small. > >- How do we have to tell the system how to configure the second disk? It depend on the file system type, but the common step is to edit /etc/fstab so that the file system will be mounted when the system boots. For UFS there isn't anything else to do. For AdvFS it is a bit more complicated. You DO NOT want to use mkfdmn to recreate the domain, since that WILL scribble over the existing data. On later versions there are program to scan disks looking for domains that will recreate the directory and symbolic link structure in /etc/fdmns. But not on V3.0 (as I recall). For the earlier versions you have to re-create the structure by hand. Having not done so recently, as best as I can recollect: 1. For each domain that needs to be "recovered", create a directory using the domain name under /etc/fdmns. 2. For each volume in the domain, create a symbolic link to the block device for that volume in the domain specific directory. The domain remembers that filesets were on it. If you were also using LSM, I'm lead to believe the recovery procedure for it is documented in the LSM manual. > >Thanks, > > /o\ |+\ Stefan Rombouts > > -- Alan Rollow alan@nabeth.cxo.dec.com