- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to umount the vg
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
Discussions
Discussions
Forums
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
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
тАО02-17-2011 08:33 PM
тАО02-17-2011 08:33 PM
/dev/vg00
/dev/dsk/c2t1d0
/dev/vg01
/dev/dsk/c5t0d1
/dev/dsk/c7t0d1
/dev/vg02
/dev/dsk/c5t0d2
$ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GMAU3073NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GMAU3073NC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/6/1/0.2.0.0.0.0.1 sdisk CLAIMED DEVICE COMPAQ HSV110 (C)COMPAQ
/dev/dsk/c5t0d1 /dev/rdsk/c5t0d1
disk 5 0/6/1/0.2.0.0.0.0.2 sdisk NO_HW DEVICE COMPAQ HSV110 (C)COMPAQ
/dev/dsk/c5t0d2 /dev/rdsk/c5t0d2
disk 4 0/6/1/0.2.1.0.0.0.1 sdisk CLAIMED DEVICE COMPAQ HSV110 (C)COMPAQ
/dev/dsk/c7t0d1 /dev/rdsk/c7t0d1
disk 6 0/6/1/0.2.1.0.0.0.2 sdisk NO_HW DEVICE COMPAQ HSV110 (C)COMPAQ
/dev/dsk/c7t0d2 /dev/rdsk/c7t0d2
$bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 212992 118128 94192 56% /
/dev/vg00/lvol1 298928 75800 193232 28% /stand
/dev/vg00/lvol8 4718592 2962576 1742344 63% /var
/dev/vg00/lvol7 4718592 1129848 3560792 24% /usr
/dev/vg00/lvol4 1048576 472824 572104 45% /tmp
/dev/vg00/oralv 8388608 2876293 5175180 36% /oracle
/dev/vg00/lvol6 5636096 1866224 3740464 33% /opt
/dev/vg00/lvol5 32768 15968 16720 49% /home
/dev/vg01/lvol3 20971520 3472 20640432 0% /cddump
question:
the above example lvmtab output shows vg02.how to remove the vg02.
vgdisplay command also display vg02.but vg02 currently not used.
kindly help how to umount this drive.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2011 08:45 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2011 08:46 PM
тАО02-17-2011 08:46 PM
Re: how to umount the vg
You should probably make sure the VG is not active.
Deactivate VG:
vgchange -a n vg02
Remove VG:
vgexport vg02
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2011 09:05 PM
тАО02-17-2011 09:05 PM
Re: how to umount the vg
vgexport -p -s -m /tmp/vg02.map /dev/vg02
after that deactivate vg
vgchange -a n /dev/vg02
and export it
vgexport /dev/vg02
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2011 09:43 PM
тАО02-17-2011 09:43 PM
Re: how to umount the vg
i have one doubt this mount directly deleted from storage but i thing server side vgexport not done.
kindly find the below procedure correct or not
1.vgchange -a n /dev/vg02
2.vgexport /dev/vg02
kindly advice this is correct or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2011 10:36 PM
тАО02-17-2011 10:36 PM
Re: how to umount the vg
Yes this is the right procedure. You say that vg02 is not currently used and hence I would think you don't have a mounted filesystem. In case there is one mounted filesystem on an L.V in that V.G, you will have to fire a umount /
Regards
Ismail Azad