[PVE-User] Extending LVM SAN storage

VIDAL, Thomas (Bioversity-France) t.vidal at cgiar.org
Tue Sep 17 17:11:02 CEST 2013


Dear Gilles,

Many thanks ! It seems more simple as I already read before on Internet !

So I did a lsscsi and the output is :

[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
[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/sdf
[9:0:0:31]   disk    DELL     Universal Xport  0780  -
[10:0:0:0]   disk    DELL     MD32xxi          0780  /dev/sde
[10:0:0:31]  disk    DELL     Universal Xport  0780  -
[11:0:0:0]   disk    DELL     MD32xxi          0780  /dev/sdg
[11:0:0:31]  disk    DELL     Universal Xport  0780  -

Of course sda and sdb are HD on the server. Now fdisk -l give me :
NO output on /dev/sdd and /dev/sdg
And a strange and same output for sde and sdf : 2096.2GB !

And pvs show me :

   /dev/sdd: read failed after 0 of 4096 at 0: Input/output error
   /dev/sdd: read failed after 0 of 4096 at 2096239214592: Input/output 
error
   /dev/sdd: read failed after 0 of 4096 at 2096239321088: Input/output 
error
   /dev/sdd: read failed after 0 of 4096 at 4096: Input/output error
   /dev/sdg: read failed after 0 of 4096 at 0: Input/output error
   /dev/sdg: read failed after 0 of 4096 at 2096239214592: Input/output 
error
   /dev/sdg: read failed after 0 of 4096 at 2096239321088: Input/output 
error
   /dev/sdg: 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 as you wrote, I think that stop VMs and restart open-iscsi will be a 
good starting point !

Many thanks for your advises. I will post further results soon.

Regards

Thomas






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.
>>>
>>> Thomas
>
> Hello,
>
> 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
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>
>

-- 

  
Thomas VIDAL (t.vidal at cgiar.org)
Computer Technology Department
  
BANANAS BIOVERSITY
http://www.promusa.org
http://www.musanet.org

INIBAP
Parc Scientifique Agropolis II
1990 Bd de la Lironde
34980 Montferrier sur Lez - France
Tel: (33)467612907
Fax: (33)467610334
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 mailing list