Skip to contentSkip to conversation

size of a PV > 2TB possible? (kernel with LBD support)

linux-lvm Sulla 2 participants 2 messages Jan 2, 2010

lore
Share & tools
lore

Sulla

author
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear all!

I'm sorry I have to ask this question to this mailing list, but I have not been able to find sufficient and conclusive informaiton on the web. The mailing-list archive at redhat seems not to be searchable.

What is the maximum size of a PV in LVM2?

I run linux 2.6.24 kernel (Ubuntu server 8.04 LTS, 32bit i386) with lvm2 2.02.26 and mdadm 2.6.3.
The kernel has CONFIG_LBD=y in its configuration.

I currently use a 2TB (just under 2TB, 1.98TB actually) raid5 array /dev/mdN as the one and only PV in a VG. I would like to grow the array by addition of another disk to 3TB and then expand the PV.

As far as I understand mdadm, on a kernel with LBD support it should be able to create a blockdevice >2TB, but I am not sure that LVM2 will accept it as a PV.

The LVM2-Howto on TLDP (http://tldp.org/HOWTO/LVM-HOWTO/lvm2faq.html)
confirms that LVs can be >2TB (16TB on 32bit OS, 8EB on 64bit OS), but says nothing at all about PVs. Could somebody add that information?

thanx for support
kind regards,
Sulla

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLPxplR6b2EdogPFsRApOQAKCq5lWWCZEU3lOqDN0yNwtjSWTx/wCfb7Bu m2SeTwsAeRU3008a1RvWBC8=
=IBoj
-----END PGP SIGNATURE-----

#1 lore raw

Yes, PV's can be larger than 2TiB. I currently have PV's around 5.46TiB here but have had them up to 10TiB on other machines. Don't know what the max size is though.

Steve

Quoted 59 lines · Sulla

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear all!

I'm sorry I have to ask this question to this mailing list, but I have not been able to find sufficient and conclusive informaiton on the web. The mailing-list archive at redhat seems not to be searchable.

What is the maximum size of a PV in LVM2?

I run linux 2.6.24 kernel (Ubuntu server 8.04 LTS, 32bit i386) with lvm2 2.02.26 and mdadm 2.6.3.
The kernel has CONFIG_LBD=y in its configuration.

I currently use a 2TB (just under 2TB, 1.98TB actually) raid5 array /dev/mdN as the one and only PV in a VG. I would like to grow the array by addition of another disk to 3TB and then expand the PV.

As far as I understand mdadm, on a kernel with LBD support it should be able to create a blockdevice>2TB, but I am not sure that LVM2 will accept it as a PV.

The LVM2-Howto on TLDP (http://tldp.org/HOWTO/LVM-HOWTO/lvm2faq.html)
confirms that LVs can be>2TB (16TB on 32bit OS, 8EB on 64bit OS), but says nothing at all about PVs. Could somebody add that information?

thanx for support
kind regards,
Sulla

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFLPxplR6b2EdogPFsRApOQAKCq5lWWCZEU3lOqDN0yNwtjSWTx/wCfb7Bu m2SeTwsAeRU3008a1RvWBC8=
=IBoj
-----END PGP SIGNATURE-----

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/