Operating System - HP-UX
1757192 Members
3030 Online
108858 Solutions
New Discussion юеВ

Recovering vg for non-bootable disks

 
Sunny123_1
Esteemed Contributor

Re: Recovering vg for non-bootable disks

Hi

Run following command

fsck -F vxfs

and then mount it

Regards
Sunny
Anteneh
Occasional Advisor

Re: Recovering vg for non-bootable disks

Thank you. It works now and let me recover other volume groups

Thank you.
Anteneh
Occasional Advisor

Re: Recovering vg for non-bootable disks

Sorry all,

For more than one volume group, it will give me the error message.

root@library:/dev/data ll
total 0
brw-r----- 1 root sys 64 0x020005 Jun 11 13:35 dbcc_data
crw-rw-rw- 1 root sys 64 0x020000 Jun 11 13:32 group
brw-r----- 1 root sys 64 0x020001 Jun 11 13:35 master
crw-r----- 1 root sys 64 0x020005 Jun 11 13:35 rdbcc_data
crw-r----- 1 root sys 64 0x020001 Jun 11 13:35 rmaster
crw-r----- 1 root sys 64 0x020002 Jun 11 13:35 rsqldev1
crw-r----- 1 root sys 64 0x020003 Jun 11 13:35 rsqldev2
crw-r----- 1 root sys 64 0x020004 Jun 11 13:35 rsqltestlog
brw-r----- 1 root sys 64 0x020002 Jun 11 13:35 sqldev1
brw-r----- 1 root sys 64 0x020003 Jun 11 13:35 sqldev2
brw-r----- 1 root sys 64 0x020004 Jun 11 13:35 sqltestlog
root@library:/dev/data fsck -F vxfs /dev/data/dbcc_data
invalid super-block
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...


sujit kumar singh
Honored Contributor

Re: Recovering vg for non-bootable disks

root@library:/dev/data fsck -F vxfs /dev/data/dbcc_data
invalid super-block
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...


use the RAW dev file /dev/data/rdbcc_data

apart from that have the copy of the OLD /etc/fstab that you can be sure before all whether the FS for this had been HFS or VXFS.

you can simply use

fsck /dev//r

regards
sujit
Anteneh
Occasional Advisor

Re: Recovering vg for non-bootable disks

When I run it it give me the following error message:

root@library:/dev/data fsck /dev/data/rdbcc_data
fsck: /etc/default/fs is used for determining the file system type
invalid super-block
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...

The content of /etc/default/fs is only

LOCAL=vxfs