- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: I cannot mount lv after reboot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 08:38 PM
06-06-2004 08:38 PM
I created a LUN in shared disk array then volume group and one big logical volume (100 GB). Then I created the fs with mkfs using -o largefiles option. I successfully mounted it but after reboot
mount -F vxfs -o largefiles /dev/vgalcatel/lvback /backup/
mount - Cannot open /dev/vgalcatel/lvback: No such device or address
but I have the device files
# ll /dev/vgalcatel
total 0
crw-rw-rw- 1 root sys 64 0x090000 Jun 4 16:53 group
brw-rw-rw- 1 root sys 64 0x090001 Jun 4 17:00 lvback
crw-rw-rw- 1 root sys 64 0x090001 Jun 4 17:00 rlvback
/etc/lvmtab has not entry about vgalcatel
# strings /etc/lvmtab | grep alca
#
# vgimport -p /dev/vgalcatel /dev/dsk/c7t5d0 /dev/dsk/c5t5d0
vgimport: Warning: Volume Group contains "1" PVs, "2" specified. Continuing.
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating the volume group.
So I run
mv /etc/lvmtab /etc/lvmtab_07062004_01
vgscan -a -v
...........
.............
...........
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c5t5d0
/dev/dsk/c7t5d0
...............
.
..............
vgchange -a y /dev/vgalcatel
vgchange: Volume group "/dev/vgalcatel" does not exist in the "/etc/lvmtab" file.
So how can I mount it ?
Best Regards
Murat SULUHAN
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 08:48 PM
06-06-2004 08:48 PM
Re: I cannot mount lv after reboot
have u done:
# newfs -F vxfs /dev/vgalcatel/rlvback
# mount /dev/vgalcatel/lvback /backup
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 08:57 PM
06-06-2004 08:57 PM
Re: I cannot mount lv after reboot
I already create the filesystem and I successfully created the file before reboot.
Thanx
Best Regards
Murat SULUHAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 09:07 PM
06-06-2004 09:07 PM
Re: I cannot mount lv after reboot
try doing a vgcfgrestore
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 09:15 PM
06-06-2004 09:15 PM
SolutionAfter this
mv /etc/lvmtab /etc/lvmtab_07062004_01
vgscan -a -v
...........
.............
...........
Following Physical Volumes belong to one Volume Group.
Unable to match these Physical Volumes to a Volume Group.
Use the vgimport command to complete the process.
/dev/dsk/c5t5d0
/dev/dsk/c7t5d0
...............
.
..............
USe This:
#vgimport -v /dev/dsk/c5t5d0 /dev/dsk/c7t5d0
Then
#vgchange -a y /dev/vgalcatel
#strings /etc/lvmtab.
I think you made a mistake by using -p with vgimport and -p is just preview not the action ( see man vgimport for details)
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 09:16 PM
06-06-2004 09:16 PM
Re: I cannot mount lv after reboot
I am working in a shared disk array and man page of vgcgfrestore has an entry about shared environments
Remarks
vgcfgrestore cannot be performed if the volume group is activated in
shared mode.
Best Regards
Murat SULUHAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 09:20 PM
06-06-2004 09:20 PM
Re: I cannot mount lv after reboot
thank you so much,
I think I need double expresso :=)
Best Regards
Murat SULUHAN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 09:32 PM
06-06-2004 09:32 PM
Re: I cannot mount lv after reboot
I think that Joseph's suggestion about newfs is good.
I suggest you to recreate logical volume and filesystem:
# lvremove /dev/vgalcatel/lvback
# lvcreate -L
# newfs -F vxfs -o largefiles /dev/vgalcatel/rlvback
# mount /dev/vgalcatel/lvback /backup
Anyway it is very strange that /etc/lvmtab has not info about vgalcatel.
Try you launch
# vgdisplay -v vgalcatel
Does it obtain anything?
If you has a backup of vgalcatel I would suggest you to recreate volume group, logical volume and filesystem, then restore.
That would be the best thing.
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 09:35 PM
06-06-2004 09:35 PM
Re: I cannot mount lv after reboot
No points....
Best regards,
Ettore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 09:38 PM
06-06-2004 09:38 PM
Re: I cannot mount lv after reboot
ok. so your problem is not mounting but vgimport or is that really your problem??
i think u should try to explain yourself clearly in future to avoid any mis-understanding or mis-interpretation to your questions.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2004 10:39 PM
06-06-2004 10:39 PM
Re: I cannot mount lv after reboot
I already wrote I created the filesystem using mkfs in the first paragraph
"I created a LUN in shared disk array then volume group and one big logical volume (100 GB). Then I created the fs with mkfs using -o largefiles option. I successfully mounted it but after reboot ."
Thanks for your response
Best Regards
Murat SULUHAN