1833756 Members
2547 Online
110063 Solutions
New Discussion

Re: /dev/root

 
SOLVED
Go to solution
John Goetz
Advisor

/dev/root

When I do a bdf on / it comes back with /dev/root instead of /dev/vg00/lvol1. Can I change this back to /dev/vg00/lvol1?
3 REPLIES 3
RAC_1
Honored Contributor
Solution

Re: /dev/root

mv etc/mnttab /etc/mnttab.bak
mount

Anil
There is no substitute to HARDWORK
Michael Tully
Honored Contributor

Re: /dev/root

Hi,

This happens usually due to a system being
mounted (/dev/root) in single-user mode
or LVM mainetenance mode or the filesystem even getting full. TO fix it do this:

# rm /etc/mnttab
# mount -a

Check to make sure that /dev/vg00/lvol3 is
set to be mounted on / in your /etc/fstab file and running the commands above.

HTH
Michael
Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor

Re: /dev/root

Hi,

There were quite a few scenarios when /dev/root device file will be used instead of the actual logical volume.

1. Improper /etc/fstab entries. Make sure the logical volume is the correct one. lvol1 is usually stand not root. Find it out using 'lvlnboot -r' command. Fix it and try

mv /etc/mnttab /etc/mntab.old
mount -a

2. You booted the system through lvm maintenance mode and then brought it up in multi-user mode. In this case, you will have reboot the system without going through lv maintenance mode.

3. Make sure the mirrors are sync'ed up properly. lvdisplay -v /dev/vg00/lvol1 - repeat it for all the LVs.

See if there are any errors in syslog.log and /etc/rc.log

-Sri
You may be disappointed if you fail, but you are doomed if you don't try