Operating System - HP-UX
1834007 Members
2019 Online
110063 Solutions
New Discussion

Getting /dev/root instead of /dev/vg00/lvol3

 
SOLVED
Go to solution
M.Thomas
Frequent Advisor

Getting /dev/root instead of /dev/vg00/lvol3

Dear All,

While doing bdf Iam getting /dev/root instead of /dev/vg00/lvol3
Please tell me how to fix this


# bdf
Filesystem kbytes used avail %used Mounted on
/dev/root 204800 20905 172451 11% /
/dev/vg00/lvol1 191445 50866 121434 30% /stand
/dev/vg00/lvol9 1024000 3459 957900 0% /var
/dev/vg00/lvol15 40960 1117 37360 3% /var/mqm
/dev/vg00/lvol11 1228800 331066 841630 28% /var/adm/sw
/dev/vg00/lvol10 1048576 1357 981775 0% /var/adm/crash
/dev/vg00/lvol7 1024000 408371 577157 41% /usr
/dev/vg00/lvol8 1024000 1358 958733 0% /usr/local
/dev/vg00/lvol13 12288 1109 10488 10% /usr/local/traindba
/dev/vg00/lvol14 512000 1229 478855 0% /usr/local/scandba
/dev/vg00/lvol6 512000 1238 478844 0% /tmp
/dev/vg00/lvol5 1024000 76183 888641 8% /opt
/dev/vg00/lvol4 204800 1157 190923 1% /home


# more /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /home vxfs delaylog 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol9 /var vxfs delaylog 0 2
/dev/vg00/lvol8 /usr/local vxfs delaylog 0 2
/dev/vg00/lvol10 /var/adm/crash vxfs delaylog 0 2
/dev/vg00/lvol11 /var/adm/sw vxfs delaylog 0 2
/dev/vg00/lvol13 /usr/local/traindba vxfs delaylog 0 2
/dev/vg00/lvol15 /var/mqm vxfs rw,suid,delaylog,datainlog 0 2
/dev/vg00/lvol14 /usr/local/scandba vxfs delaylog 0 2
/dev/vg00/lvol16 /passgo/upm vxfs delaylog 0 2
#/dev/vg00/lvol12 ... swap pri=2 0 0


# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t6d0 (0/0/2/0.6.0) -- Boot Disk
/dev/dsk/c2t6d0 (0/0/2/1.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t6d0
Root: lvol3 on: /dev/dsk/c1t6d0
Swap: lvol2 on: /dev/dsk/c1t6d0
Dump: lvol12 on: /dev/dsk/c1t6d0, 0


# mountall
mountall: /dev/vg00/lvol16 has to be fsck'd
mountall: diagnostics from fsck
vxfs fsck: sanity check failed: not a valid vxfs file system
mountall: cannot fsck /dev/vg00/lvol16
mountall: diagnostics from fsck
vxfs fsck: cannot infile system check failure, aborting ...
mountall: /dev/vg00/lvol16 failed in fsck
mountall: /dev/vg00/lvol16 cannot be mounted
#


# fsck
fsck: /dev/vg00/rlvol1: mounted file system

continue (y/n)? y
** /dev/vg00/rlvol1
** Last Mounted on /stand
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
34 files, 0 icont, 50866 used, 140579 free (67 frags, 17564 blocks)
***** MARKING FILE SYSTEM CLEAN *****

***** FILE SYSTEM WAS MODIFIED *****
vxfs fsck: /dev/vg00/lvol3 is currently mounted
vxfs fsck: /dev/vg00/lvol4 is currently mounted
vxfs fsck: /dev/vg00/lvol5 is currently mounted
vxfs fsck: /dev/vg00/lvol6 is currently mounted
vxfs fsck: /dev/vg00/lvol7 is currently mounted
vxfs fsck: /dev/vg00/lvol9 is currently mounted
vxfs fsck: /dev/vg00/lvol8 is currently mounted
vxfs fsck: /dev/vg00/lvol10 is currently mounted
vxfs fsck: /dev/vg00/lvol11 is currently mounted
vxfs fsck: /dev/vg00/lvol13 is currently mounted
vxfs fsck: /dev/vg00/lvol15 is currently mounted
vxfs fsck: /dev/vg00/lvol14 is currently mounted
invalid super-block
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
#


# fsck
fsck: /dev/vg00/rlvol1: mounted file system

continue (y/n)? y
** /dev/vg00/rlvol1
** Last Mounted on /stand
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
34 files, 0 icont, 50866 used, 140579 free (67 frags, 17564 blocks)
***** MARKING FILE SYSTEM CLEAN *****

***** FILE SYSTEM WAS MODIFIED *****
vxfs fsck: /dev/vg00/lvol3 is currently mounted
vxfs fsck: /dev/vg00/lvol4 is currently mounted
vxfs fsck: /dev/vg00/lvol5 is currently mounted
vxfs fsck: /dev/vg00/lvol6 is currently mounted
vxfs fsck: /dev/vg00/lvol7 is currently mounted
vxfs fsck: /dev/vg00/lvol9 is currently mounted
vxfs fsck: /dev/vg00/lvol8 is currently mounted
vxfs fsck: /dev/vg00/lvol10 is currently mounted
vxfs fsck: /dev/vg00/lvol11 is currently mounted
vxfs fsck: /dev/vg00/lvol13 is currently mounted
vxfs fsck: /dev/vg00/lvol15 is currently mounted
vxfs fsck: /dev/vg00/lvol14 is currently mounted
invalid super-block
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
#
2 REPLIES 2
Asif Sharif
Honored Contributor
Solution

Re: Getting /dev/root instead of /dev/vg00/lvol3

Hi Thomas,

#mv /etc/mnttab /etc/mnttab.bak
#mount

check "bdf" to verify it is now /dev/vg00/lvol3.

Regards,
Asif Sharif
Regards,
Asif Sharif
M.Thomas
Frequent Advisor

Re: Getting /dev/root instead of /dev/vg00/lvol3

Thanks Asif Sharif for your quick response
Problem get fixed


Thanks & Regards
Thomas