- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to recuperate a lvol taht is allocated to swap...
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
тАО10-12-2005 07:52 PM
тАО10-12-2005 07:52 PM
sapsrv1:/root#swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 0 1048576 0% 0 - 1 /dev/vg00/lvol2
dev 5120000 0 5120000 0% 0 - 0 /dev/vg00/lvol9
dev 8192000 0 8192000 0% 0 - 0 /dev/vg00/lvol10
dev 8192000 0 8192000 0% 0 - 0 /dev/vg00/lvol11
reserve - 61444 -61444
memory 4479808 313928 4165880 7%
sapsrv1:/root#
As this is too much I would like to remove
the lvol9
What is the command to do that.
I tried lvremove but that gives this message:
sapsrv1:/root#lvremove /dev/vg00/lvol9
The logical volume "/dev/vg00/lvol9" is not empty;
do you really want to delete the logical volume (y/n) : y
lvremove: Couldn't delete logical volume "/dev/vg00/lvol9":
The specified logical volume is open, or
a sparing operation is in progress.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
sapsrv1:/root#
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 08:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 08:27 PM
тАО10-12-2005 08:27 PM
Re: How to recuperate a lvol taht is allocated to swap ?
your advise to take a swap-lvol from fstab
appears to be difficult because
it is not part of fstab
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvol9 ... swap pri=0 0 0
/dev/vg00/lvorasys /usr/oracle vxfs delaylog 0 1
Any idea how I get the lvol out of swap ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 08:30 PM
тАО10-12-2005 08:30 PM
Re: How to recuperate a lvol taht is allocated to swap ?
Is it not a swap ?? But, i can't see lvol2,10 and 11.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 08:30 PM
тАО10-12-2005 08:30 PM
Re: How to recuperate a lvol taht is allocated to swap ?
/dev/vg00/lvol9 ... swap pri=0 0 0
you can either comment it out, or remove it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 08:30 PM
тАО10-12-2005 08:30 PM
Re: How to recuperate a lvol taht is allocated to swap ?
# lvremove -v /dev/vg00/lvol9
It will not expect user confirmation.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 08:31 PM
тАО10-12-2005 08:31 PM
Re: How to recuperate a lvol taht is allocated to swap ?
Try as,
lvremove -f /dev/vg00/lvol9
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 08:37 PM
тАО10-12-2005 08:37 PM
Re: How to recuperate a lvol taht is allocated to swap ?
The easiest way is to go into SAM
SAM -> Disk and Filesystems -> Swap
Select the lvols you want to remove ... (space)
Actions -> Remove
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 08:42 PM
тАО10-12-2005 08:42 PM
Re: How to recuperate a lvol taht is allocated to swap ?
Secured and easiest way is to do it using SAM.
SAM Areas:Disks and File Systems->Swap
This will list all the SWAPs and you can just select (using space bar) and action->remove
hope this help!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2005 09:32 PM
тАО10-12-2005 09:32 PM
Re: How to recuperate a lvol taht is allocated to swap ?
I am up to date know.
Further more I enjoyed the the extra comments/feedback.
Not only constructive but sometimmes
humurous as well.
Keep smiling ;)
Thanks