- Community Home
- >
- Storage
- >
- Legacy
- >
- Disk
- >
- Disk Space
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
11-27-2003 10:51 PM
11-27-2003 10:51 PM
Disk Space
pvdisplay results following on a disk, claiming this space is allocated. How to reclaim this space.
00400 current ??? 00000
00401 current ??? 00001
00402 current ??? 00002
00403 current ??? 00003
00404 current ??? 00004
00405 current ??? 00005
00406 current ??? 00006
00407 current ??? 00007
00408 current ??? 00008
00409 current ??? 00009
00410 current ??? 00010
00411 current ??? 00011
00412 current ??? 00012
00413 current ??? 00013
00414 current ??? 00014
Thanks
John Jayaseelan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 11:12 PM
11-27-2003 11:12 PM
Re: Disk Space
I don't like the question marks....
Where does this disk come from? Was it in use before? Just added to the system?....
pvdisplay does not give an error, so it should be in the lvmtab...
Was a pvcreate already performed on this disk after adding it to the system?
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 11:23 PM
11-27-2003 11:23 PM
Re: Disk Space
The following is the output of pvdisplay. This disk is used in this VG for a ver long time.
# pvdisplay -v /dev/dsk/c0t15d0|more
--- Physical volumes ---
PV Name /dev/dsk/c0t15d0
VG Name /dev/vguv
PV Status available
Allocatable yes
VGDA 2
Cur LV 2
PE Size (Mbytes) 4
Total PE 1023
Free PE 498
Allocated PE 525
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vguv/lvuv_d01 250 250
/dev/vguv/lvuv_ins 150 150
--- Physical extents ---
PE Status LV LE
00000 current /dev/vguv/lvuv_d01 00623
00001 current /dev/vguv/lvuv_d01 00624
00002 current /dev/vguv/lvuv_d01 00625
00003 current /dev/vguv/lvuv_d01 00626
00004 current /dev/vguv/lvuv_d01 00627
00005 current /dev/vguv/lvuv_d01 00628
00006 current /dev/vguv/lvuv_d01 00629
------
00396 current /dev/vguv/lvuv_ins 00146
00397 current /dev/vguv/lvuv_ins 00147
00398 current /dev/vguv/lvuv_ins 00148
00399 current /dev/vguv/lvuv_ins 00149
00400 current ??? 00000
00401 current ??? 00001
00402 current ??? 00002
00403 current ??? 00003
00404 current ??? 00004
00405 current ??? 00005
00406 current ??? 00006
00407 current ??? 00007
00408 current ??? 00008
00409 current ??? 00009
00410 current ??? 00010
00411 current ??? 00011
00412 current ??? 00012
00413 current ??? 00013
-------
00517 current ??? 00117
00518 current ??? 00118
00519 current ??? 00119
00520 current ??? 00120
00521 current ??? 00121
00522 current ??? 00122
00523 current ??? 00123
00524 current ??? 00124
00525 free 00000
00526 free 00000
00527 free 00000
----
01013 free 00000
01014 free 00000
01015 free 00000
01016 free 00000
01017 free 00000
01018 free 00000
01019 free 00000
01020 free 00000
01021 free 00000
01022 free 00000
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 11:50 PM
11-27-2003 11:50 PM
Re: Disk Space
this look exactly as if someone had created an lvol and "removed" it not using lvremove but did rm /dev/vguv/lv_whatevername /dev/vguv/rlv_whatevername
To get this straigt you can use
cd /dev/vguv
ll
look at the group file and the 2 numbers after 0x
*suppose* it was 0x030000
look at lvux_d01 and lvux_ins
they should have minor numbers 0x030001
and 0x030002 then
So enter
mknod lvol_nix b 64 0x030003
mknod rlvol_nix c 64 0x030003
Then pvdisplay will show lvol_nix instead of the ????s
The use lvremove -f /dev/vguv/lvol_nix
That should settle it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2003 11:53 PM
11-27-2003 11:53 PM
Re: Disk Space
this look exactly as if someone had created an lvol and "removed" it not using lvremove but did rm /dev/vguv/lv_whatevername /dev/vguv/rlv_whatevername
To get this straigt you can use
cd /dev/vguv
ll
look at the group file and the 2 numbers after 0x
*suppose* it was 0x030000
look at lvux_d01 and lvux_ins
they should have minor numbers 0x030001
and 0x030002 then
MAYBE there is a file with 0x030003 named
rand-something
Then enter
mknod and-something b 64 0x030003
Else enter
mknod lvol_nix b 64 0x030003
mknod rlvol_nix c 64 0x030003
Then pvdisplay will show lvol_nix or lvoland-something instead of the ????s
The use lvremove -f /dev/vguv/lvol_nix
That should settle it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2003 12:15 AM
11-28-2003 12:15 AM
Re: Disk Space
Created a mknod with tetst an got the following pvdisplay output. lvremove gave error as given below.
# pvdisplay -v /dev/dsk/c0t15d0|more
--- Physical volumes ---
PV Name /dev/dsk/c0t15d0
VG Name /dev/vguv
PV Status available
Allocatable yes
VGDA 2
Cur LV 3
PE Size (Mbytes) 4
Total PE 1023
Free PE 498
Allocated PE 525
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vguv/lvuv_d01 250 250
/dev/vguv/tetst 125 125
/dev/vguv/lvuv_ins 150 150
# lvremove -f /dev/vguv/tetst
lvremove: Can't get lv number of logical volume "/dev/vguv/tetst".
Volume Group configuration for /dev/vguv has been saved in /etc/lvmconf/vguv.cof
[ccprod01]: /dev/vguv
# lvdisplay -v /dev/vguv/tetst|more
--- Logical volumes ---
LV Name /dev/vguv/tetst
VG Name /dev/vguv
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 500
Current LE 125
Allocated PE 125
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t15d0 125 125
Thanks
John Jayaseelan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2003 12:25 AM
11-28-2003 12:25 AM
Re: Disk Space
mknod rtetst c 64 0x020005
Thanks