[PVE-User] Extending LVM SAN storage
VIDAL, Thomas (Bioversity-France)
t.vidal at cgiar.org
Wed Sep 25 16:32:34 CEST 2013
You saved my life !! Thank you so much, it was so simple !
In summary :
lsscsi gave me :
[0:2:0:0] disk DELL PERC H710 3.13 /dev/sda
[0:2:1:0] disk DELL PERC H710 3.13 /dev/sdb
[5:0:0:0] cd/dvd TSSTcorp DVD+-RW SN-208BB D150 /dev/sr0
[7:0:0:0] disk DELL MD32xxi 0780 /dev/sdc
[7:0:0:31] disk DELL Universal Xport 0780 -
[8:0:0:0] disk DELL MD32xxi 0780 /dev/sdd
[8:0:0:31] disk DELL Universal Xport 0780 -
[9:0:0:0] disk DELL MD32xxi 0780 /dev/sde
[9:0:0:31] disk DELL Universal Xport 0780 -
[10:0:0:0] disk DELL MD32xxi 0780 /dev/sdf
[10:0:0:31] disk DELL Universal Xport 0780 -
sda and sdb are local hard drives in Raid 0 on the server
fdisk -l /dev/sdc and fdisk -l /dev/sdf show me nothing. I don't know
why and if I can remove them in fstab safely.
fdisk -l /dev/sdd and fdisk -l /dev/sde show me that :
Disk /dev/sdd: 5090.9 GB, 5090867703808 bytes
255 heads, 63 sectors/track, 618929 cylinders, total 9943100984 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
So yes I have 5Tb on this storage
Now pvs gave me this output :
/dev/sdc: read failed after 0 of 4096 at 0: Input/output error
/dev/sdc: read failed after 0 of 4096 at 5090867609600: Input/output
/dev/sdc: read failed after 0 of 4096 at 5090867695616: Input/output
/dev/sdc: read failed after 0 of 4096 at 4096: Input/output error
/dev/sdf: read failed after 0 of 4096 at 0: Input/output error
/dev/sdf: read failed after 0 of 4096 at 5090867609600: Input/output
/dev/sdf: read failed after 0 of 4096 at 5090867695616: Input/output
/dev/sdf: read failed after 0 of 4096 at 4096: Input/output error
PV VG Fmt Attr PSize PFree
/dev/mapper/datastore-01 datastore-01 lvm2 a-- 557.79g 282.78g
/dev/sda2 pve lvm2 a-- 278.37g 16.00g
So still some trouble with sdc and sdf !
But then I did :
and now with pvs I have :
PV VG Fmt Attr PSize PFree
/dev/mapper/datastore-01 datastore-01 lvm2 a-- 4.63t 4.36t
And of course I have 4.6Tb now in the proxmox web interface !
So again : MANY THANKS.
On 17/09/2013 16:53, Gilles Mocellin wrote:
> Le 17/09/2013 13:46, VIDAL, Thomas (Bioversity-France) a écrit :
>> On 12/09/2013 11:13, VIDAL, Thomas (Bioversity-France) wrote:
>>> Dear all,
>>> For the moment I have two proxmox nodes (2 Dell R720), not running
>>> in cluster, and both are connected to a Dell MD3220i SAN. At the
>>> beginning the SAN has only 500Gb of HD, then now I added in the SAN
>>> several discs and add them in the SAN interface. I have now 3Tb in
>>> the SAN. But proxmox nodes are still using and viewing 500Gb.
>>> Can someone help me in procedure to extending the size in Proxmox ?
>>> I found several web pages on this, but not all pages are saying
>>> exactly the same.... and I don't want to crash all nodes and VMs....
>>> Many thanks and have a nice day.
> I suppose your LUN is presented to your nodes via iSCSI.
> This bring a SCSI device to your nodes. Find wihch, with lsscsi for
> example (install it via "apt-get install lsscsi").
> Suppose that it is /dev/sdb.
> Look at its size with fdisk -l /dev/sdb.
> If it's 500GB, you will have to reconnect the iSCSI Target, and
> probably have to stop your VMs...
> "/etc/init.d/open-iscsi restart"
> If the size is good (3TB), then let's go one level up.
> Here I also suppose you have LVM on top of iSCSI.
> running "pvs" as root will list your PVs with their size and free space.
> Here, you'll see that /dev/sdb is 500GB and has free space.
> You can resize it with "pvresize /dev/sdb".
> After that, your VG will be bigger, because it contains the resized PV.
> And you can add more VMs and disks inside that storage.
> Gilles Mocellin
> Nuage Libre
> pve-user mailing list
> pve-user at pve.proxmox.com
Thomas VIDAL (t.vidal at cgiar.org)
Computer Technology Department
Parc Scientifique Agropolis II
1990 Bd de la Lironde
34980 Montferrier sur Lez - France
Skype : tvidal-inibap
Please consider the environment - do you really need to print this email?
The software said "Requires Windows 2000, Windows XP, or better,..."
So I installed Linux Mint !
More information about the pve-user