Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : LVM Size, where did the space go?



Threaded Mode | Print  

 LVM Size, where did the space go?, LVM size ok, but not showing in storage (0 Replies, Read 5157 times)
serverhp
Group: Member
Post Group: Newbie
Posts: 1
Status:
I am new to LVM so forgive my ignorance. I created the volume for storage and added it to The Virtualizor control panel. When I created the first VPS (cPanel) and assigned space of 3 TB it only show 1.5.

My assumption is that not all of the space was allocated for the volume. So Okay there must be a way to make it bigger.

Hopefully, this helps explain my dilemma: (From Virtualizor SSH)
Code
[root@xxxxx ~]# lsblk
NAME                                                      MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda                                                          8:0    0  3.7T  0 disk
├─sda1                                                      8:1    0    1M  0 part
├─sda2                                                      8:2    0    1G  0 part /boot
├─sda3                                                      8:3    0 100.1G  0 part /
├─sda4                                                      8:4    0    32G  0 part [SWAP]
└─sda5                                                      8:5    0  3.5T  0 part
  └─VolGroup00-vsv1001--dsso7yfxvvrbwe0y--jxowm0ejkl7mx4fi 253:0    0  3.5T  0 lvm


Code
[root@xxxx ~]# fdisk -l

Disk /dev/sda: 4000.8 GB, 4000787030016 bytes, 7814037168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
Disk identifier: C45B9E2A-0C89-477B-A40A-9584F5B3AF6E


#        Start          End    Size  Type            Name
1        2048        4095      1M  BIOS boot
2        4096      2101247      1G  Microsoft basic
3      2101248    211939327  100.1G  Microsoft basic
4    211939328    279048191    32G  Linux swap
5    279048192  7814035455    [color=#FF0000]3.5T  [/color]Linux LVM

Disk /dev/mapper/VolGroup00-vsv1001--dsso7yfxvvrbwe0y--jxowm0ejkl7mx4fi: 3811.8 GB, 3811783475200 bytes, 7444889600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x000b9f29

                                                            Device Boot      Start        End      Blocks  Id  System
/dev/mapper/VolGroup00-vsv1001--dsso7yfxvvrbwe0y--jxowm0ejkl7mx4fi1  *        2048  3035236351  1517617152  83  Linux
/dev/mapper/VolGroup00-vsv1001--dsso7yfxvvrbwe0y--jxowm0ejkl7mx4fi2      3035236352  3149922303    57342976  82  Linux swap / Solaris


I have no idea why those says Microsoft Basic (but not causing my problem).

Virtualizor GUI shows I am using the VolGroup00 as storage and it looks right.

Code
1    Default_Storage    localhost    gdbo1hqyqc5lsvg6    LVM    /dev/VolGroup00    Yes    3592.94 GB    42.94 GB    0 GB    90.00%


So I should have 3592.94 for VPS's, right? Which I assigned to 1 VPS
Code
Disk Space
[color=#FF0000]3592.000[/color] GB (dsso7yfxvvrbwe0y)


But in the VPS I get from cPanel

Code
Current Disk Usage Information

Device    Size    Used    Available    Percent Used    Mount Point
    /dev/loop0    3.9G    25M    3.6G    1%    /tmp
    /dev/vda1    1.4T    25G    1.3T    2%    /


From VPS SSH
Code
[root@fakevpsname~]# lsblk
NAME  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
vda    253:0    0  [color=#FF0000]3.5T  [/color]0 disk
├─vda1 253:1    0  [color=#FF0000]1.4T[/color]  0 part /
└─vda2 253:2    0 [color=#FF0000]54.7G[/color]  0 part [SWAP]
loop0    7:0    0    [color=#FF0000]4G[/color]  0 loop /home/virtfs/halo/var/tmp


So I guess that means available space on VDA is 3.5T, but cPanel only sees vda1 or 1.4T. I need to allocate that missing/lost/misplaced space to vda1? Try googling that, lol.

Any pointers would be appreciated.

IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 27, 2024, 10:31 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.024