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

learn more… | top users | synonyms

2
votes
1answer
72 views

Transfer content of LVM block device ensuring consistency - LVM snapshot?

I need to create off-site full backups of an LVM block device. Thinking the old dd over SSH method. To ensure I have a consistent backup, should I create an LVM snapshot first? So new changed blocks ...
0
votes
1answer
106 views

HpUX: correct vgreduce

I want to remove a disk from root mirror. The disk to remove is /dev/disk/disk2_p2 lvreduce -m 0 /dev/vg00/lvol1 /dev/disk/disk2_p2 lvreduce -m 0 /dev/vg00/lvol2 /dev/disk/disk2_p2 lvreduce -m 0 /dev/...
0
votes
1answer
105 views

unable to boot with GRUB after installing arch-linux

i finished to install the Arch linuks with lvm on Luks and rebooted after configuring the GRUB. when i boot to the USB GRUB i get: i have edited this page and fixed the UUID number to the sda1 ...
1
vote
1answer
25 views

Is there any profit in using contiguous space in lvm?

When creating an LVM on linux, there's couple of options to set up. One of them is -C y, which sets contiguous space that a logical volume can use. Should I use this parameter or not? I know that you ...
1
vote
1answer
26 views

How to handle (with LVM or DM (device mapper)) when a drive has gone away and come back as a new block device

(This correct answer is to one that bears little surface resemblance to this one. Asking the question and answering it myself with reference to that one.) Consider a virtual host environment in which ...
0
votes
1answer
43 views

Does LVM need a partition table?

Can the locations and sizes of logical volumes be provided as command line arguments when mounting LVM partitions? I mean in the way MTD partitions are not defined using a partition table. Does LVM ...
4
votes
0answers
136 views

LVM cache and TRIM

I have set up LVM to cache a logical volume (located on an HDD) on a partition of an SSD (in writeback mode if this matters). As far as I can tell, this works correctly and the cache uses all ...
1
vote
1answer
59 views

Not able to finish setting up LUKS

I am trying to encrypt a new VM with LVM on LUKS. I formatted and partitioned the HD (1 partition). I ran: # cryptsetup -c aes-xts-plain64 -s 512 luksFormat /dev/sda1 /mnt/dok/31.jpg typing "yes"...
0
votes
1answer
68 views

Check if FibreChannel disk is mounted somewhere else

I have two RHEL 6.5 servers. Each has access to the same FibreChannel LUN with multipathing and LVM on it – let's say /dev/mapper/vg0-lv_shared. lv_shared can be mounted on server1 or server2 but not ...
0
votes
3answers
207 views

df -h shows fs size smaller than LV size

I created a LV which it's size is 700MiB . When I mounted the FS, I noticed the df -h shows the filesystem's size is 697MiB. Where did 3MiB go? Could it reserved for the LVM's metadata? The FS is ...
0
votes
1answer
9 views

LVM block allocation for snapshots

I've found this in 'man 8 lvcreate', which raises some questions for me. So: -s, --snapshot OriginalLogicalVolume{Name|Path} ... Thin snapshot shares same blocks within the thin pool volume. ;...
2
votes
0answers
125 views

Lost space in LVM

LVM Hey. First of all I want to say excuse me for my bad English. I a problem after installing CentOS 7 with LVM. Some space lost after problem with LVM configuration. I tried to add some logical ...
0
votes
0answers
22 views

Network between 3 VM's

I have a kinda dumb question but I have 3 VM's with TinyCore linux on board with wifi network drivers installed there. I have a task to connect 2 machines to 1 network - 1st and 2nd. Then to connect ...
2
votes
2answers
397 views

How do I restore my boot partition manjaro/arch?

I need to completely rebuild my boot partition. The file system has sda1 250mb for boot and sda2 lvm luks encrypted with ManjaroVG-ManjaroHome, ManjaroVG-ManjaroRoot and ManjaroVG-ManjaroSwap inside ...
0
votes
0answers
38 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
249 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
33 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
40 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
51 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
53 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
372 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
31 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
46 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
75 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
651 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
63 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
28 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
19 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
1k 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
18 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
61 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
111 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
848 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
138 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
93 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
42 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
183 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
37 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
2k 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
489 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
528 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
36 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
38 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
256 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
26 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
54 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
648 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 ?