Logical Volume Management provides storage abstraction, a generalization of disk partitioning.

learn more… | top users | synonyms

0
votes
0answers
13 views

How can i make incremental backup?

I have a linux based HOST system with KVM. And a GUEST system using Windows Server 2012R2 on a lvm partition. How i can make an incremental backup of this lvm set? Or better yet, how can I make a ...
1
vote
3answers
35 views

Create Partition (Standard partition vs LVM physical volume) in CentOS installation

All. Forgive me I not familiar with the Linux. I am trying to install CentOS in the VMWare. As I knew, Linux can only create three kinds of partitions. they are primary, extended, and logical, For ...
0
votes
0answers
17 views

lvm data lost risk

Recently I bought server for my files , I have 4x6TB hard drives : root@Debian-85-64bit-minimal ~ # lvmdiskscan -l WARNING: only considering LVM devices /dev/sda2 [ 5.46 TiB] LVM ...
0
votes
0answers
17 views

Edit grub timeout in encrypted lvm setups with /boot partition?

My old setup was LVM with Ubuntu 16.04. Disk had a GPT table with a BIOS-grub and a main partition. I was able to change the grub timeout by editing /etc/default/grub, commenting out the two ...
0
votes
0answers
10 views

Any issues with restoring from a setup with GPT and BIOS-grub partition to one with MBR and /boot partition?

I had a non-nencrypted Ubuntu 16.04 setup using LVM2. I 'ported' this over to a fresh encrypted lvm setup on the same computer and disk, which saved me the hassle of reinstalling all the apps and ...
0
votes
1answer
50 views

How do I create a dd IMAGE from LVM for recovery purposes [duplicate]

How do I backup a LVM partition to an image for recovery purposes? I am trying to run dd on /dev/sda2, but it crashes after ca 8 hours, at around 380G sudo lvmdiskscan /dev/centos/swap [ 3....
0
votes
1answer
19 views

Restore unencrypted LVM2 logical volumes to LVM on LUKS setup?

I have an unencrypted Ubuntu 16.04 setup using LVM2. I'd like to 'port' this into an encrypted setup on the same computer and disk, which would save me the hassle of reinstalling all the apps and ...
0
votes
0answers
17 views

drive geometry error with vfat

I'm curious what this error means: [root@server1 ~]# mkfs -t vfat /dev/example mkfs.fat 3.0.20 (12 Jun 2013) unable to get drive geometry, using default 255/63 I was attempting to make a file ...
1
vote
0answers
14 views

Encrypt partition and LV afterwards

What I want to do I am using Kubuntu 14.4 and like to use kvpm for my LVM-needs. I have a partition and a Logical Volume. On both is data. I would like to encrypt each of those. https://wiki....
1
vote
1answer
37 views

Purpose of Physical Extents

Today in class we are learning about logical volume management and I'm trying to find out what the actual purpose of physical extents are. I know what they are defined as and I understand how to do ...
0
votes
1answer
10 views

General ratio regarding FS <-> LV

Based on New FS size differs from LV size We need a 4 GByte sized FS on top of an LV. OS: RHEL6, 64bit. Question: How big LV is needed to have a 4096 MByte sized FS on it? Are there any percentages ...
0
votes
1answer
19 views

Convert free space LVM to ext

Can I convert Free space in a LVM partition to a ext3 partition? If I run pvs: PV VG Fmt Attr PSize PFree /dev/sda3 ubuntu-vg lvm2 a-- 297,11g 30,02g So I have 30GB unused, ...
1
vote
0answers
29 views

How to solve File-based locking initialisation failed.

Am on a CentOS-Minimal Virtual Machine, i had accidentally deleted a hard disk that contained a Volume Group (LVM). After rebooting i got an error saying " File-based locking initialisation failed". ...
0
votes
0answers
30 views

How do I repair an ext3 filesystem (superblock)?

Disk setup (2) 300GB HDDs in RAID 1 /dev/sda1 - ext3 /boot (1GB) /dev/sda2 - swap swap (20GB) /dev/sda3 - LVM (179GB) (2) 500GB HDDS in RAID 1 /dev/sdb1 - LVM (500GB) LVM - System (...
0
votes
0answers
14 views

Unable to run LVM on CentOS 6 via VNC Viewer

Need to run Logical Volume Manager on my CentOS 6 vm using VNC Viewer but when I double click on it, nothing happens. What I did is to go to System > Administrator > Logical Volume Manager Am I ...
0
votes
0answers
20 views

How to restore lvm partition without config file?

Today I did update my ubuntu server. The device structure is looks like to below 1) sda1 # new os 2) sdb1 # origin /boot partition 3) sdb2 # origin swap partition 4) sdb3 # origin ...
0
votes
1answer
25 views

Create a new volume on free diskspace from inside Dom0

I have a server with two HDDs (/dev/sda and sdb) with 1.8TB each. On both disks, there is a 500MB Swap and an 800GB partition, that are in a raid md0 and md1: pvs PV VG Fmt Attr PSize ...
1
vote
1answer
28 views

mkswap complains that partition is misalilgned (LVM on RAID-0)

I have a RAID-0 setup on two identical hard disks (same brand and model). The partition table is identical on both (I have cloned it). However, /dev/md0 occupies only part of the disks, because I had ...
-2
votes
1answer
33 views

debian from disk to big disk: what i miss? [closed]

Usually i migrate virtual machine to new bigger disk following this procedure a)Attach new disk b)Mount to mnt c)rsync -avogpP --delete /olddirs /mnt/newdirs except for tmp proc sys dev,i use to ...
1
vote
1answer
45 views

extend an LVM mirror with an extra non-mirrored disk

I have an LVM mirror made of 6 disks of 1Tb. I've made a RAID 1 mirror with 3+3 disks. The logical volume and the partition on it have therefore 3Tb of usable space. Running out of disk space, I'm ...
3
votes
1answer
41 views

mount: Unrecognised segment type thin

So my Fedora Linux machine crashed during an update, and now refuses to start properly. I'm using SystemRescueCD to try to recover the contents of the hard drive. Following the steps in this post, I ...
0
votes
1answer
41 views

Restoring fdisk mistakes: New partitions & table

On a deabian 8.2 system I made a new LVM partition with fdisk and wanted to issue a pvcreate command, but was constantly being called and then made this horrible horrible mistake. Before the call I ...
2
votes
1answer
84 views

NixOS installation on multi-boot system with GRUB (from Arch installation)

I have one physical disk (/dev/sda) which is divided in /dev/sda1 (which is /boot bootable GRUB2 partition used and setup with Arch) and /dev/sda2 which is my cryptroot that, when unlocked, is a ...
1
vote
1answer
28 views

Can I mix SAS and SATA HDDs together using LVM?

I was playing with my server with a 300G SAS HDD. However, recently I am considering making it into a production server which demands elastic storage. So I meet the question that whether it is okay to ...
2
votes
0answers
22 views

How to shrink sda disk with XFS filesystem

We have a RHEL 7 server with 2 disks (sda and sdb). Our /, /var/log and swap are on sda, /var is on sdb. We use LVM and XFS. sda is too big (160 GB) and we would like to shrink it to 40 GB. We can ...
1
vote
3answers
55 views

Resize LVM at the beginning

I have a LVM primary partition at the end of my disk, Windows is at the beginning, there was an unused partition in between but I need some space for Linux so I removed it. Now I'm trying to figure ...
1
vote
1answer
64 views

Ext4 corrupted and unrecoverable after LVM resizing + power failure

I have a completely standard, single hard drive Fedora 23 desktop. The dual-boot installer set up the Linux partition as LVM, with root, swap and home logical volumes; root and home were both ext4. ...
3
votes
1answer
94 views

Filesystem still showing the old value after reduction in linux, however showing the correct value in LVM

We have a task to resize the filesystem from 8T to 7T which is in LVM. We have given resize2fs command, while the command is still being run we have got the error "Write failed: Connection reset by ...
0
votes
0answers
30 views

Centos 7.2 Convert single LVM to RAID Mirror Reinstall BootLoader

I am trying to convert a single-drive Centos 7.2 installation with LVM into a two-disk mdadm mirror with mrrored LVM. I was able to follow the excellent instructions at: http://www.dgoradia.com/...
3
votes
1answer
45 views

Making a swap partition using lvm

When we make a swap using a regular physical drive, we just use fdisk and make a partition with type swap, using the swap code for that partition, followed by mkswap and swapon commands. But what if,...
0
votes
1answer
48 views

lvreduce : “No directory, logging in with HOME=/”

I wanted to reduce my home LVM size so I executed the following commands : sudo umount -fl /dev/ubuntu-vg/home lvreduce --size -4G /dev/ubuntu-vg/home As the last command didn't work (apparently ...
0
votes
1answer
44 views

how to fetch lvm mount point (generic)

I need to write a script that will check whether an LVM exists on the system or not. If an LVM exists, then it will perform certain steps else it will do other steps. My issue here is how to find a ...
0
votes
2answers
96 views

gparted (live usb) says my partition is mounted, but where?

I'm attempting to grow /dev/sda5, which is an 'lvm2 pv' partition, but it's contained in /dev/sda2, which is an extended partition. There is plenty of "unallocated" space immediately after /dev/sda2, ...
0
votes
0answers
53 views

how to Increase VM disk without reboot on Linux redhat 6.x + LVM

I increased the second disk in VM machine from the VSphere client GUI as the following: By right click on the machine --> edit settings --> hard disk2 --> increase the disk from 1G to 2G Then I ...
0
votes
1answer
6 views

How to replace a disk which contains the CentOS6

I have a machine that contains a disk which one has CentOS 6 Installed. In that disk, There are two partitions. One of them if mounted on /boot, and the second one is a PV for the rootvg. I need to ...
0
votes
0answers
12 views

Why is EXT4 on LUKS on MD-RAID6 not detected by openSUSE's YaST

For maximum control over the storage configuration I've got two MD-RAID6 devices pre-configured as follows from openSUSE's Rescue system before rebooting the computer into openSUSE's installation ...
0
votes
1answer
32 views

Cannot mount newly created Logical Volume

I try to create a Logical Volume under an existing Volume Group but I cannot mount the new LV due to error: "Bad magic number in super-block while trying to open": [root@host-xxxx ~]# df -h ...
0
votes
1answer
23 views

Extended logical volume in LVM still shows old size

I have setup a server with LVM, and at first I juset created a small logical volume named 'root' of about 10GB, but later changed my mind. I extended it to 1TiB, but my server still is in two minds of ...
0
votes
1answer
59 views

How to allocate available HDD from /home to /root [duplicate]

I have a 500GB HDD for CentOS 6.7 . But when I created a partition, I just have created a small storage size for root, but /home folder had lots of capacity. Could I move available capacity from /home ...
1
vote
1answer
51 views

How to reduce root Volume Group size in LVM?

I found a similar question here, but there's one different point on my server: --- Volume group --- VG Name vg System ID Format lvm2 Metadata Areas 1 ...
1
vote
1answer
19 views

LVM snapshot - performance for write-only data

I have a client that is archiving write-only , time-series data in a database (ie. data is rarely modified after it is written, and it is rarely read as it is on a secondary/backup/failover node). I ...
0
votes
1answer
19 views

LVM Snapshot - Copy on write - does it apply to new data?

I have been reading about LVM Snapshots, and I have a general understanding of how it works. If a snapshot is made of source data, I understand that the copy-on-write (COW) means that if a ...
1
vote
1answer
40 views

Split home partition into 2 (xfs on LVM)

I am using centos 7 and I have a /home mounted on an xfs filesystem on a dedicated LVM partition. /dev/mapper/centos-home 782G 34M 782G 1% /home I want to split this partition to 2 ...
0
votes
0answers
58 views

linux + resize2fs with Operation not permitted error

I am trying to increase the /opt to 65g but I get the following message Operation not permitted While trying to add group #8256 what is the resolution for that? root@linux:/opt # lvresize -L 65g /...
1
vote
1answer
39 views

Swap /dev/mapper/* devices

I have been given a box that has /dev/mapper/root mounted as / and mapped to /dev/dm-0. It has /dev/mapper/home mounted as /home and mapped to /dev/dm-2. The dm-0 device is 5G and the dm-2 device is ...
1
vote
0answers
33 views

How to wait for detected LVM volumes?

I have the following problem: I have a machine running arch and which contains a encrypted LV in a LVM. Inside the (encrypted) LV is another PV located. So I have in fact two VGs: One which contains ...
0
votes
2answers
92 views

command to list logical volume I/O statistics on AIX

I am looking for a command which displays the I/O statistics of logical volumes (like reads/sec , writes/sec, io utilization %, read kb per second, written kb per second) . I tried iostat, but its ...
2
votes
1answer
256 views

How do I configure grub to boot another linux distribution off an lvm partition?

(I no longer have this setup so I cannot test new answers, sorry. I had to switch computers and am now only using arch; I am leaving the question as it is though since I'd love to know a solution if ...
1
vote
2answers
48 views

RHEL: FDE w/o password - boot from key on partition

I'm trying to accomplish encrypting my OS w/ LVM on RHEL 7.2 and have it boot without entering a password by using a key on an unencrypted partition. LV VG Attr LSize Pool Origin Data% ...
0
votes
1answer
88 views

How to create a volume group that is larger than 2 TB on a non-GPT system?

I've recently setup a CentOS 6 x64 server with 4x 3TB drives, running on top of a RAID-10 array. Current partition schema is as below; /boot 500M (Standard ext4) vg_root 10G (LVM) swap 12G (...