- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvremove error
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
03-27-2005 07:45 PM
03-27-2005 07:45 PM
lvremove error
when i decided to remove unused (unmounted)lvol
i recieved an error :
Couldn't remove Logical volume "/dev/vg01/lvol2
You must lvrmboot -s before removing a swap device.
the command i used was :
lvremove /dev/vg01/lvol2
and lvdisplay -v /dev/vg01/lvol2:
LV Name /dev/vg01/lvol2
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 32
Current LE 8
Allocated PE 8
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t5d0 8 8
--- Logical extents ---
LE PV1 PE1 Status 1
0000 /dev/dsk/c0t5d0 0500 current
0001 /dev/dsk/c0t5d0 0501 current
0002 /dev/dsk/c0t5d0 0502 current
0003 /dev/dsk/c0t5d0 0503 current
0004 /dev/dsk/c0t5d0 0504 current
0005 /dev/dsk/c0t5d0 0505 current
0006 /dev/dsk/c0t5d0 0506 current
0007 /dev/dsk/c0t5d0 0507 current
please help ?
kamal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 07:51 PM
03-27-2005 07:51 PM
Re: lvremove error
"You must lvrmboot -s before removing a swap device"
is an indicator that you are most probably using this as a swap device. Can you check out you /etc/fstab entries for swap?
And if you still want to remove the lv, then you erally do need to use lvrmboot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 07:55 PM
03-27-2005 07:55 PM
Re: lvremove error
why do u want to remove your swap device?
but if really u want to do so, u may comment off the line on swap from /etc/fstab, reboot your server and then perform lvremove.
but really, why? no space???
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 08:23 PM
03-27-2005 08:23 PM
Re: lvremove error
but this lvol
dosn't exist in /etc/fstab
i told u :
when i decided to remove unused (unmounted)lvol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 09:06 PM
03-27-2005 09:06 PM
Re: lvremove error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 09:11 PM
03-27-2005 09:11 PM
Re: lvremove error
lvol2 dosn't exist in swapinfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2005 10:15 PM
03-27-2005 10:15 PM
Re: lvremove error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 12:57 AM
03-28-2005 12:57 AM
Re: lvremove error
this lvol was mounted on directory
and now this lvol dosn't mounted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 01:20 AM
03-28-2005 01:20 AM
Re: lvremove error
Can you post
lvlnboot -v /dev/vg01
Just to check what the vg has configured.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 01:42 AM
03-28-2005 01:42 AM
Re: lvremove error
this command dosn't gave me result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 02:07 AM
03-28-2005 02:07 AM
Re: lvremove error
Have you tried the command multiple times ?
Is it possible that you mistyped it before and used /dev/vg00/lvol2 instead of /dev/vg01/lvol2 ?
/dev/vg00/lvol2 probably is swap so if you mistyped it, you could get this result.
Oz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 02:10 AM
03-28-2005 02:10 AM
Re: lvremove error
Very Odd.
Tony.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 02:40 AM
03-28-2005 02:40 AM
Re: lvremove error
very strange things happen
i tryed to do any thing to exit from this problem.
i made the following commands:
----------------------------------
command
lvreduce -L 5 /dev/vg01/lvol2
----------------------------------
warning appear: that file system may be loses.
after accept (y)
----------------------------------
command
ln -s /dev/vg01/lvol2 /dev/rdsk/base1
----------------------------------
after that
----------------------------------
command
fsck /dev/rdsk/base1
----------------------------------
and create new lvol (lvol3)
when i tryed to remove (lvol2)
command complete successfully !!!
can any one explain ?
kamal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 09:09 AM
03-28-2005 09:09 AM
Re: lvremove error
The only thing that would explain both is if you mistyped the vg name. I only mention it, because its the type of thing that I would do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2005 02:09 PM
03-28-2005 02:09 PM
Re: lvremove error
I would request you to assign points to the experts helping you.It is just an encouragement. In the past also you have just assign points to less than 4% of the reponses you got.
Thanks
SS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2005 01:37 AM
03-29-2005 01:37 AM
Re: lvremove error
iam sure vg name is true
i looked for history file to sure every commands is true.
hi SS:
you are right.
many thankx for help
kamal