Logical Volume Management provides storage abstraction, a generalization of disk partitioning.
0
votes
0answers
4 views
How to combine grub2 of Ubuntu 16.04 on /dev/sda and Fedora25 on a LVM partition in /dev/sdb
I had recently purchased a new PC and installed Windows and Ubuntu 16.04 on the SSD drive, sda. Since I needed to install Fedora25 as well and as my budget allowed me to purchase only a 240GB SSD, I ...
0
votes
1answer
23 views
migrating centos with LVM + boot partition to different disk
I would like to migrate my centos 6.8 installation from one 250gb disk to a newer 500gb one.
Since it's using LVM, I'm reading that moving data should be easy as adding the new disk to the same ...
0
votes
0answers
36 views
/run/lvm/lvmetad.socket BUG, Cant login into system
I've got problem with Linux. When I try to login I got some error witch looks like this:
/run/lvm/lvmetad.socket: connect failed: No such file or directory WARNING: Failed to connect to lvmetad: No ...
4
votes
1answer
36 views
two physical disks with same volume group names preventing access
My 8 year old computer with fc22 died. I have a new computer now running fc25. I had routinely backed up my most important data, so not all is lost, but I would like to look at what I have on my old ...
0
votes
1answer
15 views
How to install Apricity on a logical volume using Calamares?
I am trying to replace Fedora which I have installed on one of the logical volumes with Apricity (Gnome version), but when the Calamares graphical installer gets to partitioning, it only shows a LVM ...
0
votes
1answer
17 views
How to join primary partition into physical volume
I have a hard disk with this information :
Disk /dev/sdb: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 ...
1
vote
1answer
23 views
Extend partition using LVM
I have Ubuntu 16.04 (no desktop manager installed) running in vmware. I am out of space and am trying to extend the existing partition using LVM. I have added additional space in vmware but am having ...
0
votes
0answers
11 views
add encrypted disk from previous setup [Debian]
I had two disks on my Linux, both were encrypted with LVM set during installation. First disk had system and everything, second had one partition and was mounted as /opt. First disk has failed and I ...
1
vote
1answer
14 views
Adding encryption to existing software RAID-mirrored volume
I currently have a server which has a number of LVM volumes using software RAID for mirroring. Something like this:
sdd 8:48 0 894.3G 0 disk
└─sdd1 8:...
1
vote
0answers
18 views
recover last state of full lvm snapshot
I recently ran into the case that an LVM snapshot overflowed. The reasons are unclear:
* there was probably no write access to the origin at all
* both snapshot and origin have same size (100g, 25600 ...
3
votes
1answer
16 views
How to split a crypt_LUKS partition in half with LVM?
I currently have this structure:
NAME FSTYPE
sdb iso9660
└─sdb1 crypto_LUKS
└─sdb1-map ext4
And want to get
# lsblk -o ...
1
vote
2answers
31 views
LVM: pvcreate by uuid or non “dev/sdX” method
Is it possible to pvcreate a pv by any more unique means than the standard "/dev/sdX"?
The reason is the external multiple hard drive dock and dev mapper on my system don't always assign the same "/...
0
votes
0answers
19 views
LVM absent Centos 7 Minimal
I just installed a fresh server with CENTOS 7 Minimal on it and i configured my SSH,FTP,SMB... But then when i tried to create a physical volume on a disk the CLI returned that none of the LVM (...
3
votes
1answer
46 views
Issues zeroing an LVM volume
I have a system with two LVM volumes on an eMMC device, and I'm trying to "wipe" one of the volumes by filling it with zeros. This is my first time working with LVM, so I'll show what I tried and didn'...
3
votes
1answer
53 views
What's the difference between lvmcache and dm-cache?
Recently I found article mentioning that recently dm-cache significantly improved in linux. I also found that in userspace you see it as lvmcache. And it's quite confusing for me. I thought that LVM ...
1
vote
0answers
75 views
Moving LXC containers storage [closed]
I am wanting to create two LXC containers that use two LVM logical volumes as their backing storage. The setup is currently
physical volume = dev/md0 (which is sdb, sdc and sdd in a software RAID 5 ...
1
vote
2answers
79 views
Stripe array which stores each (whole) file on one disk (zfs/lvm?)
My configuration is: two HDD drives (3TB+4TB), which I want to use as a stripe array.
I want to achieve that if one of my drive fails, half of my files (on good drive) are guaranteed to be safe. In ...
0
votes
1answer
25 views
Physical and logical extent
in the creation of a VolumeGroup I define the physical extent to 2mb, so my logical extents will be that size (2mb) when I create a logical Volume?
0
votes
2answers
31 views
Advice on how to transfer space in a BTRFS setup
I have had problems with my 40GB root partition and want to transfer space from a second 400GB partition. I have BTRFS installed on top of LVM. For some reason, OpenSUSE decided this for me an ...
2
votes
2answers
50 views
File system UUID vs. Logical Volume UUID
I am in the process of creating a backup script. First of all, I would like to make sure the source file-system/logical-volume is mounted (and know where it is mounted).
Apparently this can be done ...
3
votes
4answers
158 views
Check logical volume mount point (command line)
With GNOME Disks utility, I can check whether a logical volume is mounted:
And where is it mounted:
How can I get this information from the command line? Having, for example, the logical volume UUID,...
0
votes
0answers
24 views
Large LVM Snapshots - Unable to Reboot
On of my Systems contains a 5TB /var partition. There are multiple instances of MongoDB running. To make backups of those MongoDB instances we implemented a script for creating a LVM Snapshot every ...
1
vote
1answer
29 views
How to simplify drive structure and resize some of partition
I have some VPS with weird (for me) disc structure:
root@Debian1:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
fd0 2:0 1 4K 0 disk
sda 8:0 0 20G ...
2
votes
1answer
39 views
correct method to corrupt super block in ext3 filesystem associated with drbd
I am trying to simulate file system super block corruption.
During this experiment I could not understand the difference between below super block corruption. Please help to know the difference.
A ...
3
votes
1answer
56 views
Doubled hyphens in LVM /dev/mapper names
I created a thinpool LV using the following command:
lvcreate --type thin-pool -l 100%VG -n lv-thinpool vg-test
Now /dev/mapper has the following entries:
vg--test-lv--thinpool
vg--test-lv--...
1
vote
0answers
19 views
Is a hybrid thin/fat LVM LV possible?
Is it possible for a LV to have both:
PEs allocated from inside the thin pool, and
PEs from outside the thin pool, but from VG containing the thin
pool
0
votes
0answers
89 views
gdisk / GPT code for LUKS / dm-crypt partition
This question and its answer use 1-byte codes to refer to a partition, implying an MBR partition type.
However, gdisk uses a 2-byte code to refer to the type of GPT partitions.
What gdisk partition ...
0
votes
1answer
15 views
Migrate LVM with MDADM underneath
Ok, so this has been fun to diagnose but I've learned a bit about LVM and brushed up on my MDADM, so overall not a bad day!
What I'm trying to accomplish is migrate 2 external enclosures with ...
0
votes
0answers
20 views
Remove RAID 1 and extend hard drive
How am I able to remove RAID 1 and extend the first hard drive? To make my Proxmox LVM 400GB+
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 4096 40962047 40957952 ...
1
vote
1answer
16 views
hpux 11.31 : what is the difference between distribuited volume and stripe lvm?
With this command
lvcreate -D
I create a distribuited lvm.
With this I create a striped lvm.
lvcreate -L 1220 -i 3 -I 64 -n name /dev/vg02
What is the difference between a striped and ...
1
vote
0answers
30 views
How to perform fstrim on a loop device?
I have LVM with thin-provisioning enabled. I have two almost identical thin logical volumes with ext4 file systems that slightly differs. The first volume is used entirely for storing file system. On ...
2
votes
1answer
97 views
Remove unknown Device in LVM
Does anyone know how to remove below unknown device(0) from lv/vg/pv?
CentOS 6.7
[root@localhost ~]# lvs -a -o +devices
Couldn't find device with uuid kAWxh3-gucl-ZrAl-GOYw-uLKV-xrBB-J9EJf5.
...
1
vote
0answers
15 views
Xen domU not resizing disk
My Xen server is using LVM for the domUs. I shutdown a domU and increased it's lv from 10G to 24G:
lvextend -L24G /dev/xen-disks/my_domu
which appears to have worked:
--- Logical volume ---
...
3
votes
1answer
27 views
Less complicated way to do Server Data Migration?
This is perhaps too specific/personal a question for S.O. but here it is:
I've inherited a server currently running a single hard drive, which through default Ubuntu 16.04 server setup, is running ...
4
votes
1answer
56 views
How to pause MySQL before taking an LVM/ZFS snapshot?
How can I instruct MySQL to complete all "in-progress" transactions, but to delay starting new ones (without kicking clients off) until I have taken a ZFS or LVM snapshot (which takes less than a ...
1
vote
0answers
30 views
How to optimize btrfs for running on LVM
There are situations where btrfs should be run on LVM. What mount options are needed in that case to reduce CoW on CoW overhead and respect lvm thin provisioning?
3
votes
1answer
66 views
Resizing boot partition
I need to expand my /boot partition to install updates. I have 200MB /boot partition and then I have 2 LVM partitions - /home and / encrypted by LUKS.
Is it possible to shrink LVM partitions by ...
0
votes
0answers
425 views
Ubuntu 16.04 stops booting, it has LVM and LUKS encryption configured, superblock restore already tried
Suddenly my Ubuntu 16.04 drops me into an initramfs prompt like this:
BusyBox v.1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash)
Enter 'help' for list of built-in commands.
(initramfs)
...
0
votes
0answers
113 views
Multiboot Different Linux Distros
I'm trying to setup my desktop and laptop to multi boot different distros without going into the Bios. So far everything I've tried has ended up with one of the distros not booting or booting into ...
2
votes
1answer
33 views
Re-partition a LVM partitionin that has /home mount on it
I know this question maybe very elementary in nature, so if someone can show me a guide to do it and think this thread is repetitive, please edit it at your convenience.
I found out that on my Redhat ...
0
votes
0answers
156 views
LVM volume group is inactive after reboot of Ubuntu
For no reason LVM volume group is inactive after every boot of OS. Manual activation works fine. Didn't touch any configs for several months.
I do not use RAID and OS is booting from usual partition.
...
0
votes
2answers
45 views
Mounted Dir 64% full but has no files or any related processes running
I have a directory that is for some reason 64% full but has no files or related processes open that can cause that space to be used
[root@exlap932 data02]# du -sh
8.0K .
[root@exlap932 data02]# ...
0
votes
0answers
5 views
How to create exact lvm sizes in the debian installer?
I am wondering how i exactly can define a logical volumes size in the debian installer.
For a vagrant basebox I try to define the lvm sizes as small as possible using 2^n steps. 16Mb, 32Mb, 64Mb, ...
0
votes
2answers
27 views
create new lvm from existing lvm
I already have one lvm of 20gb but I want only 5gb lvm for PostgreSQL installation.I googled a lot but I am not able to find how to create new lvm if I have existing one.Below is the output of cfdisk.
...
0
votes
2answers
68 views
Mount Physical volume to increase disk space
I am completely new to dealing with filesystems and disk. I have ssh access to a physical machine which has two physical disks I believe.
When I do fdisk -l I get:
root@206-166-40-41-os-compute:/...
1
vote
1answer
187 views
Unable to find LVM volumes: linux kernel options
After kernel recompile, I am not able to boot a linux box.
Error is clear about not finding LVM volumes.
Can you point me to the kernel config options needed to enable boot from LVM2?
I'm pretty ...
0
votes
1answer
58 views
lvmetad is not coming up by default at boot time with systemd. Process starts if started manually
"lvm2-lvmetad.service" is dependent on "lvm2-lvmetad.socket". This socket creates one ListenStream which is not being creating at boot time. can someone explain how this listen stream gets created ?
1
vote
0answers
53 views
LVM mirror creates high load from time to time, how to lower these effects?
Or: How to throttle down one LVM mirror leg lowering its assumed synchronization cpu load?
Is it possible to tweak a LVM mirror configuration so it takes it easy on mirroring files?
Whenever there ...
2
votes
1answer
122 views
Duplicate PVs error in GParted when attempting to delete RAID1 setup
Problem
When attempting to delete the remnants of my RAID1 setup I'm getting the following error:
WARNING: Not using lvmetad because duplicate PVs were found.
WARNING: Use multipath or vgimportclone ...
0
votes
1answer
132 views
Resize root lvm partition
I have a dedicated server with 2 TB storage.
My problem is that the whole storage is allotted to the root partition.
Whenever I try to resize it using lvresize, the root partition gets corrupted ...