Operating System - HP-UX
1832577 Members
3425 Online
110043 Solutions
New Discussion

Re: mount error after vgimport

 
SOLVED
Go to solution
MikeL_4
Super Advisor

mount error after vgimport

I had to rebuild a server, after which I used a vgexport map file I hade for one of my Volume Groups: vg01...

The mknod for the group file and the vgimport worked without any errors and created the one LV I had in the VG:

ls -al /dev/vg01
total 16
drwxr-xr-x 2 root root 96 Jan 16 15:27 .
dr-xr-xr-x 17 bin bin 8192 Jan 16 15:13 ..
crw-r--r-- 1 root sys 64 0x020000 Jan 16 12:56 group
brw-r----- 1 root sys 64 0x020001 Jan 16 15:27 lvol1
crw-r----- 1 root sys 64 0x020001 Jan 16 15:27 rlvol1

I updated fstab for the file system:
/dev/vg01/lvol1 /software vxfs rw,suid,largefiles,delaylog,datainlog 0 2

Bur when I try to mount the file system I get the following:

=>mount /software
vxfs mount: Cannot open /dev/vg01/lvol1: No such device or address

Any ideas ??

Thanks
3 REPLIES 3
Tim Nelson
Honored Contributor
Solution

Re: mount error after vgimport

Did you activate the vg ?

vgchange -a y /dev/vg01 ?

How about a vgdisplay -v /dev/vg01 post.

TwoProc
Honored Contributor

Re: mount error after vgimport

I'm with Tim, you need to activate the volume group after recreating it. Use the vgchange command.
We are the people our parents warned us about --Jimmy Buffett
MikeL_4
Super Advisor

Re: mount error after vgimport

Thanks so much, I forgot to activate the VG...