Ask Your Question
0

maximum disk size for Fedora 16

asked 2012-01-16 06:23:18 -0500

Cristiane gravatar image

updated 2014-09-29 16:22:39 -0500

mether gravatar image

Hi there, I have a server with 4 HDs with 3 TB in RAID 5, and I can't create a single LVM using all size, I have 1 LVM with 2 TB. Is this a limitation from Fedora? How can I fix this? Do I have to create a LVM for each disk? Thanks Cristiane.

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted
0

answered 2012-01-20 21:33:39 -0500

Can you provide the exact error you get when trying to create a larger volume?

The max size will depend on PE (physical extent) size, but should be much larger than 2TB. You can also look when making the pv and see if the PE size is set very small, just increase it and see if you can then make a larger lv.

edit flag offensive delete link more
0

answered 2012-01-20 13:43:33 -0500

meltingrobot gravatar image

Okay, I'm assuming this is post OS installation then. Try as root, launching parted against your drive to edit its partitions.

This would probably be something like parted /dev/sdb Change sdb to whatever the drive is. After you do that, type print to get information on your drive and any existing partitions. Verify that you are working with the correct drive before doing the next command(s). If you have a partition already existing that you want to remove, type rm and hit enter. It will prompt for a partition number, type the number of the partition you want to delete(probably 1). Now, type mklabel and then GPT and then Yes to confirm that you want to destroy the existing label. Now, we are ready to create your new large partition. Type mkpart, then type a name for your partition, then type ext4 for the File system type. For Start? Type 0 For End? Type -1 and then type Ignore to ignore the warning. Then, you should be able to see your new large full disk size partition by typing print. Then type quit to exit. After that, you will need to format your new partition as ext4 and then add an entry into /etc/fstab for it. You should be able to format using mkfs.ext4 /dev/sdb1 replacing sdb1 with your partition if it is different.

edit flag offensive delete link more
0

answered 2012-01-16 09:11:46 -0500

meltingrobot gravatar image

There is a limit, but I don't think the limit is that small. I haven't tested in Fedora, but I know in RHEL that LVM volumes will scale up well past 20TB (EXT4 limits out at 16TB, unless that has changed). What utility did you use to try and create your LVM partition? Are you doing this fdisk, gparted, or the installer?

edit flag offensive delete link more
0

answered 2012-01-21 10:41:55 -0500

ZenDark gravatar image

During the installation, with the graphical tool:

  1. Create at least 2 partition no bigger than 2040 GB each one.
  2. Over these partitions, create a LVM physical volume.
  3. Create a LVM volume group selecting the 2 physical volume, the physical volume will have 4 TB of free space.
  4. You can add then any LVM logical volume. To optimize space you could use 64MB as the size of the physical extent. But play around with the options and get the best.

I did a test with a virtual machine under, 1 system disk 20 GB, and 3 disk of 2 TB each one (vmware doesn't allow bigger disk, sorry). Installed without a glitch.

edit flag offensive delete link more
0

answered 2012-01-16 11:06:20 -0500

Cristiane gravatar image

I'm using the installer. I have 2 SAS HDs with 600 GB RAID1 (for the OS) and 4 HDs with 3 TB RAID5, that makes a virtial disk with 8.5 TB for storage, but a only can create a partition with 2 TB. When I try to use a larger size, I have a warning that the size has been exceeded.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-01-16 06:23:18 -0500

Seen: 1,744 times

Last updated: Jan 21 '12