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

learn more… | top users | synonyms

0
votes
0answers
37 views

LVM Logical Volume (linear) best performance

As a system administrator, one thing I do very often is increase LV's size. In most cases I have to extend first the VG, adding a new disk (we are talking about virtual machines). I have got a lot of ...
1
vote
1answer
226 views

Why is OS constantly writing to disk (ext4) on a Ubuntu 14.04 machine? Is it normal?

I'm quite sure it didn't happen before I started using LUKS and LVM on my disk (2 or 3 weeks ago), but now root user is constantly (every 2-3 seconds) writing (not reading, just writing) on disk and I ...
0
votes
0answers
29 views

vxlist volume and vxlist disk stuck on Solaris 10

On Solaris 10 i have installed symantec storage foundation for lvm. Enable all daemons,create volumes and groups ok but if i want to see the size of disk and volumes with vxlist volume or vxlist ...
0
votes
1answer
32 views

How to convert SW MD RAID1 arrays to LVM mirrors?

We have SW MD RAID1 on a RHEL5. RAID devices come from multipath currently. # pvs -v --segments Scanning for physical volume names PV VG Fmt Attr PSize ...
0
votes
1answer
14 views

Is LVM mirroring supported on RHEL 5?

We have SW MD RAID1 on a RHEL5. RAID devices come from multipath currently. Question: Is it possible to "convert" this setup to LVM mirroring? Does RHEL 5 supports mirroring in LVM? Just like in a ...
0
votes
1answer
41 views

LVM: How to recreate Volume Group after moving disks?

I had a volume group comprising of 2 x 1TB disks called mirrorvg I had a single Logical Volume (mirrorlv) which used all available capacity (approx 1.82TB usable) Because of some hardware problems I ...
0
votes
1answer
50 views

Removing OEM version of Windows, and re-installing in VM [closed]

I just ordered a new Lenovo X1 with Windows 10 for work. There will be times I'm required to run Windows, though I prefer to use Linux (Mint, currently) for most day-to-day tasks. Question: If I ...
0
votes
1answer
44 views

changed df -h output format after yum update in rhel6.5

changed df -h output after yum update (after patching). Anybpdy help on this ? Anybody knows the reason behind this ? df -h output before yum update (rhel patching) : Filesystem ...
4
votes
0answers
319 views

A stop job is running for LVM

I use full disk encryption which uses an LVM. It uses like this in lsblk: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda ...
1
vote
1answer
30 views

What is the order in which physical volumes are used in a volume group?

I have a volume group which contains 2 physical volumes 400g on a 7200rpm hdd 250g on an ssd. Can I ensure that the ssd is used first/ the hdd is only used when the ssd is full? Note I will have var ...
1
vote
0answers
45 views

One SSD cache for two partitions on two separate disks?

I have two hard drives: one for my operating system and the other for other data. I recently bought an SSD drive that I would like to use an LVM cache for those two devices. The problem is that I ...
0
votes
1answer
70 views

xl create problem with Arch Linux, Xen, DomU LVM

This is still my first time setting up a DomU. With Dom0 being Arch Linux and DomU as well. I recently figured out that I would need an LVM for my setup as I want at least two partitions (root + swap)....
6
votes
2answers
616 views

Gparted says disk is full but it isn't

I'm on Manjaro and today I woke up to find my computer having problems due to a full disk. I have deleted many things but this did not solve the issue. I have no idea what is happening. Is there a ...
2
votes
1answer
61 views

Reduce the size of an existing VolumeGroup to create a new PhysicalVolume

I have test machine that is set up with default partition settings for CentOS 6. [root@base_machine ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup-lv_root ...
-1
votes
1answer
24 views

Physical Backup of Maria DB as a snapshot using LVM

I have a SQL database which I want to backup as a snapshot. I want to use LVM to do so, but I am not able to do it. Also my database is not stored in a LVM partition but its located in my /dev/sda2 ...
0
votes
0answers
16 views

Differences between LVM in RHEL 5 and LVM in RHEL 6

What are the Differences between LVM (Logical Volume Manager) in Red Hat Enterprise Linux 5 and LVM (Logical Volume Manager) in Red Hat Enterprise Linux 6
2
votes
1answer
866 views

LVM filesystem is full, cannot update system amongst other things

I am running a RHEL 7 server with a license from my university. I am running it on a bare metal server in a local place on my university. I originally installed RHEL 7 with LVM on my hard drive (there ...
0
votes
0answers
15 views

Error: “failed to connect to lvmetad” in Ubuntu 15.10 [duplicate]

My computer has a error that is preventing it from booting to the desktop. The error message is Warning failed to connect to lvmetad no such file or directory falling back to internal scanning ...
1
vote
2answers
60 views

Restoration of physical and logical volume group with data

My idea was to simulate such situation on VirtualBox as: some crash happened with my hard disk drive, but I had had LVM and it was not a big deal to restore data using it. My steps were: step1: ...
1
vote
1answer
89 views

When using dm-cache, how do you do snapshots on a cached LV?

In dm-cache, how do you do snapshots on a cached LV? I attempted the usual way on a CentOS 6.7 installation and got the following results:- # lvs LV VG Attr LSize Pool ...
2
votes
1answer
742 views

Convert Physical partition to LVM

I have a local web server running locally in the office. It has two hard drives: 120 GB SSD - on which / is mounted, So the web server /var/html is on the SSD 1TB HDD - mounted in /media on which ...
0
votes
2answers
131 views

pvcreate command and setting of extents

I am trying to find the way to create a physical volume with specific range of extents. Vgcreate command has -s option for this(but this command is for groups). I read the man for pvcreate and did not ...
1
vote
0answers
19 views

Backup location in LVM

By default, the metadata backup is stored in the /etc/lvm/backup file and the metadata archives are stored in the /etc/lvm/archives file. What should I do If I want to change directory for backup? For ...
0
votes
1answer
82 views

Trying to understand lvm snapshot

I saw the mention of 'c-o-w' in a lvm tuto and that made me confused because it kept me thinking the snapshot vol behaves like overlayfs or other cow fs where changes are written to it after you ...
1
vote
1answer
40 views

Snapshot size in lvm

I am trying to understand how to select a proper size for snapshot. As I know simple snapshot uses space which is needed for covering difference between two logical volumes. So, what size of snapshot ...
1
vote
2answers
153 views

How to mount a logical volume?

I would like to mount /dev/sda2. How am I supposed to do that? I have tried this, I'm not sure about the result, df still does not show the free space. mount -v -o ro /dev/sda2 /data mount: unknown ...
0
votes
2answers
36 views

Is there a method to make Multipart or Virtual Files?

Is there a method of creating a symbolic file that refers to the contents of a directory? So for example, calling: cat all_keys would give the same output as: cat keys/key1+keys/key2+etc... I've ...
2
votes
1answer
1k views

how to check the filesystem type of a logical volume

How to check the filesystem type of a logical volume using lvm or any other utility.. For example, if my logical volume is /dev/vg1/lv1 then how to check its filesystem type ? I have made a ext4 ...
4
votes
2answers
443 views

Resize XFS home directory in LVM

I am desperately trying to increase the swap space available to my server from 4GB to 16GB, however at present XFS + something is making this impossible. I have a single SSD hosting the OS (CentOS 7),...
1
vote
0answers
462 views

Backup partition in LVM using Clonezilla

I installed a Debian Jessie machine on a 1.4TB disk (technically a hardware RAID but this shouldn't matter). At installation, I created an unencrypted LVM with 3 volumes, including a 30 GB volume I ...
0
votes
0answers
35 views

Issues creating logical volumes

I want to create a logical volume on my Debian install but the following problems occur: #lvcreate -L 2G vg1 >proc/misc: No entry for device-mapper found >Is device-mapper driver missing ...
1
vote
0answers
34 views

Moved /var/log to a new logical volume now data is missing

I have a RHEL server that has /var mounted inside an LVG on its on dedicated LV. Per RH Security Advisory CCE-26215-4 I needed to migrate /var/log to its own dedicated partition. So I shrunk /opt to ...
1
vote
1answer
216 views

LVM Mount Rescue Mode

I am having trouble mounting a LVM to extract a Proxmox virtual machines data. Any ideas on how I can mount it? root@rescue:~# mount /dev/sdd /mnt/ mount: block device /dev/sdd is write-protected, ...
1
vote
0answers
25 views

Restoring VG configuration from recovered drive

Had to reinstall CentOS on a server with three RAID 1 arrays. I installed the OS on sda (300g), and left sdb and sdc alone (they were not formatted or otherwise fiddled with). The OS is up but I'...
2
votes
1answer
50 views

Secure deletion on BTRFS in LVM

I have a BTRFS filesystem in an LVM logical volume, which exists inside of a LUKS disk. For reference's sake, let's call the LV lvm-root, and the LUKS disk crypt-root, and the BTRFS filesystem fs-root....
0
votes
2answers
537 views

What does resize2fs command do in Linux

What does resize2fs command do when we extend or reduce a Logical volume. Is the function same or different while using lvextend and lvreduce commands ?
0
votes
1answer
35 views

Losing disks with LVM

I have a question: We are setting up 5 new servers with 4 disks of 1 TB each. We are planning of using LVM Mirror so we have protection over our data. My question is, if I lose a disk, since we ...
1
vote
1answer
334 views

How to boot gentoo with systemd, UEFI, lvm2 rootfs with systemd EFI boot?

I've installed Arch Linux with that setup. And now, I want to have dual boot with gentoo. But, when booting gentoo, the root UUID (on LVM) not detected. My partition scheme is like this: (lsblk -f) ...
0
votes
1answer
29 views

Should a multi disk LVM not use all space?

I have two physical volumes in an single volume group. I extended the home volume to all remaining space with # lvextend -l +100%FREE <home volume> then re-sized the file-system to match # ...
2
votes
0answers
112 views

LVM partition not mounting

There was a drive failure on a disk in a RAID1 configuration. I removed the bad disk and reconfigured the RAID1 to only use the good disk. When I reboot the machine there are missing LVM partitions. ...
1
vote
1answer
228 views

LVM drives have same pvid

I am trying to remove a corrupt drive from a LVM volume group but when I try to pvmove data I get # pvmove -v /dev/sda1 Cluster mirror log daemon not included in build. Found same device /dev/...
1
vote
1answer
26 views

Removing drive from LVM that has the /boot partition

I have two drives /dev/sda and /dev/sdb that are in a Volume Group with three volumes: /boot, /root, and /home, mounted respectfully. If I remove /dev/sda after doing # pvmove /dev/sda # vgreduce $...
12
votes
1answer
5k views

How to shrink root filesystem without booting a livecd

I find myself needing to rearrange a system's partitions to move data previously under the root filesystem into dedicated mount points. The volumes are all in LVM, so this is relatively easy: create ...
2
votes
1answer
37 views

After changing LVM, I have “residue” of old PV's

I used to have an LVM LV based off of two smaller disks. I introduced a new, much larger disk, migrated the data, and retired the old disks. Everything works fine. The 3Tb disk /dev/sdb1 is fully ...
1
vote
1answer
779 views

fstrim “the discard operation is not supported” with ext4 on LVM

Attempting to run fstrim on my root partition (which is ext4 on a LVM logical volume, single physical volume—an SSD supporting TRIM) produces an error: fstrim -v / fstrim: /: the discard operation is ...
1
vote
0answers
87 views

Encrypted boot drops to shell, how to set LVM crypttab consistently? 'ALERT! {logical volume path} does not exist'

I used Luks to encrypt my whole hard drive, and created that sda drive as a physical volume. Under that volume, I create a volume group vg00 with my 3 logical volumes lv00_root, lv01_home, and ...
0
votes
0answers
18 views

LVM Mapper can't be found

I'm getting the error below. If i write "lvm vgchange -ay", "exit" i can go on and system boots. But why is this happening? I don't want to write this commands EVERY boot. What can i do for this?
2
votes
1answer
2k views

Missing root VG, dropped to an initramfs shell. [SOLVED]

My Linux Mint 17.1 (64-bit) uses LVM on its OS drive (an SSD). I must have done "something" to wreck my system, because last time I rebooted, the boot failed. Instead, I got the message "Alert! /dev/...
2
votes
0answers
176 views

GRUB doesn't find /boot in LVM

My system was installed with the Antergos installer and it runs encrypted GRUB. This works fine, just have to insert decryption key twice. Then I added LVM and created three LVM volumes, boot root ...
0
votes
0answers
230 views

Debian Jessie LVM2 volume not found on boot

On Debian Jessie, is it possible to have LVM execute vgchange automatically at startup such that a LVM USB volume is available for auto-mount? (I have seen solutions with custom init scripts - I am ...