- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to get rid of a disk
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
тАО12-06-2010 07:47 AM
тАО12-06-2010 07:47 AM
Can someone tell me what steps I need to go through to get this drive c5t13d0 out of the volume group so that if I do a vgchange it won't complain .
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 07:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 07:55 AM
тАО12-06-2010 07:55 AM
Re: How to get rid of a disk
So vgexport the VG and rebuilt it without this drive
or
replace the drive, create a new file system on the lvol and restore data.
Its up to you.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 08:03 AM
тАО12-06-2010 08:03 AM
Re: How to get rid of a disk
Deactivation of the volume group isn't possible if access is still permitted to your file system. Hence, you need to make your filesystem in a "quiescent" condition. In simpler words, as the other folks said, unmount the filesystem. However, I suspect you have some filesystem swap enabled which will not allow you to do this. If that's the case edit fstab and REBOOT (since you are using 11.11), then deactivate and export!
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 08:15 AM
тАО12-06-2010 08:15 AM
Re: How to get rid of a disk
mountall: /dev/vg03/lvol01 has to be fsck'd
mountall: diagnostics from fsck
vxfs fsck: file system on /dev/vg03/lvol01 has structural damage
mountall: cannot fsck /dev/vg03/lvol01
mountall: diagnostics from fsck
full file system check required, exiting ...
ta-data.
vxfs fsck: fsck read failure bno = 16, off = 0, len = 8192
mountall: /dev/vg03/lvol01 failed in fsck
mountall: /dev/vg03/lvol01 cannot be mounted
since it wasn't mounted I went ahead and tried the vgexport and found it had to be deactivated first, which I did, then ran the vgexport again with no problems. I then went and commented out the one and only line in /etc/fstab about /dev/vg03.
I'm not sure but should that take care of everything when I reboot the system for the halibut?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 08:28 AM
тАО12-06-2010 08:28 AM
Re: How to get rid of a disk
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 08:31 AM
тАО12-06-2010 08:31 AM
Re: How to get rid of a disk
Vgexport will remove entire vg and commenting/removing the lines related to filesystem/swap will do it your you.
If the replies helped you, Assign appropriate points
Thanks & regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 08:32 AM
тАО12-06-2010 08:32 AM
Re: How to get rid of a disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2010 09:03 AM
тАО12-06-2010 09:03 AM
Re: How to get rid of a disk
vgchange -a n -q n /dev/vg03
vgremove /dev/vg03
If you want to keep the volume group sans the "lost" disk:
vgchange -a y -q n /dev/vg03
lvremove /dev/vg03/lvolname
lvcreate newlvol
or
find a suitable replacement to the lost disk and replace the failed disk. You will loose the filesystem on top of the lol and will have to create a new one on top of it (newfs or mkfs vxfs)
Cheers!
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler