From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079091516091.tru64-unix-managers.marc@archive.invalid> From: Joanne Hodges Date: Wed, 01 Dec 1999 18:50:08 +0000 To: tru64-unix-managers Subject: SUMMARY: Recreating /etc/fdmns directory X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079091516091 Many thanks to this very responsive group! In less than an hour, I had >10 replies, all saying the same thing: 1).I needed to add the MSFS option to my kernel, config a new kernel, and reboot to add Advfs to my installed kernel. 2). I had the domain directories manually restored as well as the links within the domain directories to the devices. 3). I had also manually restored my /etc/fstab to include the Advfs file and then did a mount -a and magically all the directories complete with files intact were available! 4) Thanks to everyone for warning me to definitely not do the mkfdmn and mkfset commands which actually would destroy the data. Special thanks to: Jef HamLin John J. Francini Timothy Baird Dirk Westfal Cherie Willoughby Dirk Westfal Dave Stapleton Kurt Carlson Paul A Sand Sean O'Connell Oisin McGuinness Joanna Gaski Nick Leonard Balaji Chandrasekar Dr. Tom Blinn ________________________________________________________________________________ Original posting: We had a catastrophic failure on our root disk. I have a hard copy of my /etc/fstab and my /etc/fdmns directory. I REALLY cannot lose the data that was mounted on these file systems. I am running 4.0D and have the Advfs filesystem utilities installed. I have manually made the directories and soft links to the special devices because when I went to do the mkfdmn commands, it warned me that I MAY lose the data, and I didn't want to risk that. However when I go to do the mkfset commands I get the following error: # /sbin/mkfset user3_domain user3 mkfset: can't create file set 'user3' in domain 'user3_domain' mkfset: error = E_ADVFS_NOT_INSTALLED (-1108) I have included my previous /etc/fstab and /etc/fdmns: ===============domain info=============== /etc/fdmns/root_domain: /etc/fdmns/user3_domain: /etc/fdmns/user4_domain: /etc/fdmns/user5_domain: /etc/fdmns/user6_domain: /etc/fdmns/user7_domain: /etc/fdmns/user8_domain: /etc/fdmns/usr_domain: drwxr-xr-x 2 root system 8192 Mar 18 1995 root_domain drwxr-xr-x 2 root system 8192 Mar 18 1995 usr_domain drwxr-xr-x 2 root system 8192 Mar 29 1996 user3_domain drwxr-xr-x 2 root system 8192 Mar 29 1996 user4_domain drwxr-xr-x 2 root system 8192 Mar 29 1996 user5_domain drwxr-xr-x 2 root system 8192 Mar 29 1996 user6_domain drwxr-xr-x 2 root system 8192 Mar 29 1996 user7_domain drwxr-xr-x 2 root system 8192 Mar 29 1996 user8_domain lrwxr-xr-x 1 root system 9 Mar 29 1996 rz3c -> /dev/rz3c lrwxr-xr-x 1 root system 9 Mar 29 1996 rz4c -> /dev/rz4c lrwxr-xr-x 1 root system 9 Mar 29 1996 rz9c -> /dev/rz9c lrwxr-xr-x 1 root system 10 Mar 18 1995 rz46a -> /dev/rz46a lrwxr-xr-x 1 root system 10 Mar 18 1995 rz46g -> /dev/rz46g lrwxr-xr-x 1 root system 10 Mar 29 1996 rz10c -> /dev/rz10c lrwxr-xr-x 1 root system 10 Mar 29 1996 rz11c -> /dev/rz11c lrwxr-xr-x 1 root system 10 Mar 29 1996 rz12c -> /dev/rz12c /etc/fstab: /dev/rz1c /stripe1 ufs rw 1 2 /dev/rz2c swap2 ufs sw 0 2 /dev/rz46b swap1 ufs sw 0 2 /proc /proc procfs rw 0 0 /var/mail@coyote /usr/mail nfs rw,bg 0 0 root_domain#root / advfs rw 0 0 user3_domain#user3 /user3 advfs rw 0 0 user4_domain#user4 /user4 advfs rw 0 0 user5_domain#user5 /user5 advfs rw 0 0 user6_domain#user6 /user6 advfs rw 0 0 user7_domain#user7 /user7 advfs rw 0 0 user8_domain#user8 /user8 advfs rw 0 0 usr_domain#usr /usr advfs rw 0 0 My question is how do I go about getting back my /user3 - /user8 directories without losing their data? Thanks. -- _____________ Joanne Hodges | Joanne.Hodges@dres.dnd.ca DEFENCE RESEARCH ESTABLISHMENT SUFFIELD | PH: (403) 544-4620 Box 4000, Medicine Hat, Alberta, CANADA T1A 8K6 | FAX: (403) 544-3388