New answers tagged

0

A logical partition is different from LVM which stands for logical volume manager. First clarifying what logical partition is, they are simply partitions within an Extended partition, which is just like a Primary partition except you can sub-partition it and fill it with infinite logical partitions. As you may have noticed, PC hard disks only allowed 4 (...


1

As I knew, Linux can only create three kinds of partitions. they are primary, extended, and logical No, that's wrong. What you're describing here is PC old-style “MBR” partitions. This was the standard partition type on PC-type computers (and some others) since the 1980s but these days it's being replaced by GUID partitions. Logical vs primary partition is ...


-1

If you are not sure whether you need the lvm physical partition or not , then just create the standard partition. The lvm physical volume (pv) is just a standard partition (with lvm meta data) to be used in lvm volume group (vg) from which a logical volume (lv) can be created , and the final logical volume is just like a block device where you can write a ...


0

I went ahead and followed the steps outlined above and it does work. Three additional steps after the above steps: create /etc/crypttab recreate initramfs Both are described in this guide to Ubuntu install with encrypted LVM and custom/multiple logical volumes (i.e., not limited to the installer defaults of / and /swap): http://www.olafdietsche.de/2014/...


0

Looks like it was previously answered on Serverfault. http://serverfault.com/questions/219234/lvm-dd-lvm First of all you should create an LVM that is at least the same size of the original one. Then you can do something like: local# dd if=/dev/vglocal/lvm-old | ssh remote dd of=/dev/vgremote/lvm-new And that should do it. If you already have ...


0

Following is just some basic info. Size of PE defines the size of PV because in LVM 1.0, maximum number of PE per PV is only 65535. It is increased to 16777216 in LVM 2.0/2.1 Let's use LVM 1.0 as an example, if you specify PE size of 1Mb then the maximum size of PV is only 64Gb (the maximum size of a PE is 256Mb). Size of PE also defines the minimum size ...


0

The default journal size is 128MB, and the default inode tables occupy 2MB for every 128MB. So if you want 4096MB of actual storage space, you need to allocate enough space for 128MB of journal, and 4096/126 128MB blocks (rounding up), i.e. 33 blocks, or 4224MB, for a total of 4352MB. This will give you slightly more than 4096MB of usable storage (precisely, ...


3

Since you have LVM set up, just use that — you can either extend an existing LV (and the filesystem it hosts), or create a new LV. See lvextend(8) and lvcreate(8) for details.


0

Apparently, this is done by simply creating a new volume and then copying over the data from the original one with: dd if=/dev/mapper/original_thin_volume of=/dev/mapper/new_thin_volume conv=sparse


1

I did it! I did it! I fixed it properly (I think). Here's the story: After some time the server turned out to be faulty and had to be scrapped. I kept disks and got everything else new. Then I reinstalled CentOS again on the SSD and then I attached the HDDs. LVM worked nicely, the disks were recognized, the configuration kept. But the same problem came up ...



Top 50 recent answers are included