Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Disks moved and making file domains

SOLVED
Go to solution
Alice Daniel
Frequent Advisor

Disks moved and making file domains

My DS20 has been hardware configured such that a custom device is on SCSI bus -> DKA (where the disks used to be) and my 2 disks are now on DKB. Originally my fstab entries were relative to rz0 and rz1 --> dka, but now, the disks have been renamed to rz8 and rz9 respectively.
Right now when I reboot, I am not able to mount the disk partitions properly, so I cant rebuild the system, because /usr is not found on the new disk name (rz8) . What needs to be done to get /usr (originally on partition rz0g) along with /swap on rz0b) mounted or accessed properly WITHOUT loosing any data on those disks?
8 REPLIES
Ivan Ferreira
Honored Contributor
Solution

Re: Disks moved and making file domains

If you can boot to single user mode:

>>> boot -fl s

You can change the links in the /etc/fdmns/ directory. Create a new link pointing to the right device with ln -s. Ensure that you specify the same ending letter (partition, like rzXa, rzXg, rzXh)

Example:

cd /etc/fdmns/usr_domain
ln -sf /dev/rz8h

For the swap device, you should change it on /etc/fstab.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Alice Daniel
Frequent Advisor

Re: Disks moved and making file domains

I tried that, but I got:

/rz8h: Read-only file system
Alice Daniel
Frequent Advisor

Re: Disks moved and making file domains

Also, this is how my /etc/fdmns directory looks:

-r--- 1 root system 0 ... .advfslock_fdmns
-r--- 1 root system 0 ... .advfslock_usr_domain


drwxr-xr-x 2 root system ... root_domain
drwxr-xr-x 2 root system ... usr_domain

I tried to change the permissions for the lock files, but got the :read-only file system msg again.

Hein van den Heuvel
Honored Contributor

Re: Disks moved and making file domains



After you booted a 4.0 system in snadalone mode you can make the root file system modifyable by executing:

mount -u

Hein.


Ivan Ferreira
Honored Contributor

Re: Disks moved and making file domains

I forgot to methion that you need to run:

mount -u /

To make / rw.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Alice Daniel
Frequent Advisor

Re: Disks moved and making file domains

should I get rid of the existing link of rz0h -> /dev/rz0g ?
Ivan Ferreira
Honored Contributor

Re: Disks moved and making file domains

Just remove the file, and keep a record on some notepad just in case.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Alice Daniel
Frequent Advisor

Re: Disks moved and making file domains

Thanks to all that replied. I also had to reset the /sbin/swapdefault... I can now boot!