System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Boot failed: usrvol is invalid or can`t be opened

Dmitry Timoshenko
Frequent Advisor

Boot failed: usrvol is invalid or can`t be opened

Hi,

My problem is - ES25 standalone server fails at boot with message:
exec: /sbin/mount_advfs -F 0x4000 usr_domain#usr /usr
Error: /dev/vol/rootdg/usrvol is an invalid device or cannot be opened.
exec: /sbin/mount_advfs -F 0x4000 usr_domain#var /var
Error: /dev/vol/rootdg/usrvol is an invalid device or cannot be opened.

The usrvol is configured for advfs&LSM:
# ls -al /etc/fdmns/usr_domain
lrwxrwxrwx 1 root system 22 Sep 25 15:18 rootdg.usrvol -> /dev/vol/rootd
g/usrvol
/usr filesystem is planned on dsk0g and dsk1g (mirror). Configuration was ok, and system werk for one month at least Problem appeared after some shutdown (sorry, no details about).

Commands, launched for checking are failed:
# /sbin/advfs/verify usr_domain
verify: vfast status not available on domain usr_domain; No such device or address
# /sbin/advfs/fixfdmn usr_domain
fixfdmn: Can't get size for volume '/dev/vol/rootdg/usrvol'.
fixfdmn: Error obtaining volume information.

fixfdmn is not able to continue, no changes made to domain, exiting.

Thanks in advance for your advices on how to restore this filesystem functioning without backup,
Dmitry.
3 REPLIES
Hein van den Heuvel
Honored Contributor

Re: Boot failed: usrvol is invalid or can`t be opened

Hello Dmitry,

Sounds to me you have to dig deeper then AdvFS. The problem is in the layer below that: LSM. It could be even below that (the disk itself) but since you booted from that same disk an lsm detected prolem is more likely.

Your first commands should be 'volprint' and friends focussing on usrvol. This surely is a plex of two disk partitions. Maybe one got diabled. Maybe the mirroring software needs to be helped to be told which of the two is the one to rely on. Maybe the vold gave some explanation in the log (var/adm/messages)?

Good luck,
Hein.


Dmitry Timoshenko
Frequent Advisor

Re: Boot failed: usrvol is invalid or can`t be opened

Hello, Hein,

Thank you a lot for good idea.
Finally, the case was resolved by:
- booted in singe-user mode
- voldctl enable (to allow LSM commands)
- volume start usrvol

After that, I was blessed to mount /usr and boot OS. :)

Kind regards,
Dmitry.
Dmitry Timoshenko
Frequent Advisor

Re: Boot failed: usrvol is invalid or can`t be opened

Problem solved.