- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How do I remove a logical volume dump2 - not u...
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
05-21-2007 08:53 PM
05-21-2007 08:53 PM
How do I remove a logical volume dump2 - not used as dump
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 09:10 PM
05-21-2007 09:10 PM
Re: How do I remove a logical volume dump2 - not used as dump
My immediate gut feel might be that this LV is being used as a swap device. Could you check with swapinfo -t. Otherwise see if it is mounted by looking in the /etc/mnttab file.
HTH
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 09:23 PM
05-21-2007 09:23 PM
Re: How do I remove a logical volume dump2 - not used as dump
Doesn't appear to be in use for swap or mounted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 09:31 PM
05-21-2007 09:31 PM
Re: How do I remove a logical volume dump2 - not used as dump
What does SAM tell you about that logical volume?
Regards
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 09:36 PM
05-21-2007 09:36 PM
Re: How do I remove a logical volume dump2 - not used as dump
is the volume mounted?
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 09:36 PM
05-21-2007 09:36 PM
Re: How do I remove a logical volume dump2 - not used as dump
sam reports the logical volume is Unused.
Dump is Dump
Dump2 is unused
Swap is Swap
Swap2 is Swap
I tried the remove from sam but encountered the same error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 09:54 PM
05-21-2007 09:54 PM
Re: How do I remove a logical volume dump2 - not used as dump
The volume is not mounted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 09:58 PM
05-21-2007 09:58 PM
Re: How do I remove a logical volume dump2 - not used as dump
What reply do you get when you run an lvchange -a n /dev/vg00/dump2
Also look at the lvdisplay /dev/vg00/dump2 when its done if it works.
Regards
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 10:05 PM
05-21-2007 10:05 PM
Re: How do I remove a logical volume dump2 - not used as dump
The lvchange -a n worked but I still can't remove it (see attached)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 10:37 PM
05-21-2007 10:37 PM
Re: How do I remove a logical volume dump2 - not used as dump
-Is it mounted
-use fuser on the lvol to find any processes
-is it used as raw for something
A dump device can be removed using lvrmboot.
lvrmboot -v -d dump2 /dev/vg00
man lvrmboot.
Removing it depends on the location of this file system related with the others like swap, root, etc. Possibly you have to go to lvm maintenance mode and do this.
Before you doing anything on the vg00, I would suggest to make an ignite recovery tape.
Regards,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 10:54 PM
05-21-2007 10:54 PM
Re: How do I remove a logical volume dump2 - not used as dump
I would suggest the following:
Check there are no entries in /etc/fstab for that device. If so remove them.
Try umount the device and the raw device
umount /dev/vg00/dump2
umount /dev/vg00/rdump2
Lastly check in SAM to see if it thinks it is a swap device under Disks and File Systems -> SWAP and if it does, try to remove it. You may need to lvchange -a y /dev/vg00/dump2 first.
As a last resort I regret to say you may need to reboot.
After that I am out of ideas.
Regards
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 10:57 PM
05-21-2007 10:57 PM
Re: How do I remove a logical volume dump2 - not used as dump
This is not a dump device and is not mounted.
root@aramis:>lvrmboot -v -d dump2 /dev/vg00
lvrmboot: Logical Volume "/dev/vg00/dump2" is not configured to be
a Root, Swap or Dump Logical Volume.
lvrmboot: Unable to Remove Dump Logical Volume
root@aramis:>
This appears to be something left over from my ignite recovery that I can't remove
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 11:09 PM
05-21-2007 11:09 PM
Re: How do I remove a logical volume dump2 - not used as dump
The umounts failed - cannot find in /etc/mnttab. The lvol is not showing as swap in SAM. The server was rebooted earlier today.
If I boot into maintenance mode, what would be the process to remove it, or what about single user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2007 11:26 PM
05-21-2007 11:26 PM
Re: How do I remove a logical volume dump2 - not used as dump
You can try the same commands on lvm (hpux -lm) maintenance mode.
What do you see when you try a pvdisplay on the PVs of vg00.
pvdisplay -v dev/dsk/c100t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 02:08 AM
05-22-2007 02:08 AM
Re: How do I remove a logical volume dump2 - not used as dump
Output from pvdisplay:-
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg00/dump 288 288
/dev/vg00/dump2 64 64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 02:11 AM
05-22-2007 02:11 AM
Re: How do I remove a logical volume dump2 - not used as dump
Can you lvreduce -l 1 /dev/vg00/dump2 ?
Still researching where all the bits for logical volumes are kept.
Regards
AY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 02:51 AM
05-22-2007 02:51 AM
Re: How do I remove a logical volume dump2 - not used as dump
The lvreduce -l 1 worked ok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 03:11 AM
05-22-2007 03:11 AM
Re: How do I remove a logical volume dump2 - not used as dump
If you are running HP-UX 11i with JFS3.3 there is a known bug. The relevant patch is PHKL_25885 superceded by PHKL_26230.
Otherwise you could try to remove the lv by using /sbin/lvremove once you have brought the system up in single user mode. You may need to manually mount /.
Regards
Andrew Y