The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
16 views

Is it safe to use lvresize -r to reduce LVM

I know I can increase the size of file system and LV in one go using lvresize -r but is it safe to use the sam approach to reduce a LV file system ? here is the man page of -r -r, --resizefs ...
2
votes
2answers
49 views

How does grub2 load the kernel from an LVM volume?

Grub2 is able to load the kernel even if /boot is placed on an LVM volume. To use this feature one needs to add insmod lvm (the module can be on the grub bios partition that is not on an LVM volume) ...
2
votes
2answers
149 views

Why can't I create an LVM RAID1 or mirror volume?

I'm running Ubuntu 12.04 and have just added 2 new hard drives into my server. The idea being that I would create a volume group that would include them and create a bunch of logical volumes on them ...
1
vote
0answers
21 views

what is the “System ID” of a LVM volume group

On my system, where I use LVM2, I have several volume groups. When I run sudo vgdisplay, I see that all of them have an empty System ID field. What is that field for? Is that correct to have it empty ...
2
votes
1answer
62 views

Transfer 2 drive raid0 / lvm2 system to new drive pair

I have a multi-boot, multi-drive system that I want to transfer onto 2 bigger drives. Currently pc has 2x1TB drives with Fedora 19 running, using RAID0 drive mirroring, with LVM2 on top of the md. I ...
3
votes
1answer
164 views

Is pvcreate destructive? Attempting to recover an lvm2 volume group

I don't want to lose any data, so I'm asking if the solution Novell offers is safe to try. If not, are there safe alternatives? Step-by-tedious-step: I have two volume groups: main and Rand; Rand ...
3
votes
2answers
230 views

Grow LVM RAID10?

RHEL LVM has supported RAID4/5/6 as of 6.3 and RAID10 as of 6.4. It's well-known that mdadm won't let you --grow raid10, my question is whether this is a limitation of LVM RAID10 too? If it is ...
0
votes
1answer
332 views

How to recover from a boot hang after deleting old swap?

I did a fresh installation of Fedora 20 in the free space of my hard drive after failing to upgrade from the older version. Everything seems to be working fine until I deleted the partition containing ...
1
vote
1answer
128 views

Raid5 + LVM2 + grub2: final config and boot

I have a one disk, no RAID, no LVM system based on Debian Squeeze (my old system). I created a RAID array (RAID 5, 4 HDDs) with mdadm (my new system). I installed LVM2 on the new system and ...
2
votes
1answer
32 views

How can I migrate my Ubuntu installation from LVM2 to RAID5?

I stumbled upon this question, but I do not think this is a duplicate since I'm under the impression that the OP in this question is not running under a live session. I, on the other hand, have ...
1
vote
0answers
106 views

dm snapshot - how does it work?

Fedora uses dm-snapshot for making the root filesystem read-write. At least for me, when running a livecd (even without touching it), it will become unusable relatively quickly meaning it has ...
2
votes
0answers
132 views

Extending/resizing Fedora Guest-OS root-drive in VirtualBox

I hope you can help me with that: My VirtualBox Guest-OS (Fedora 19) told me, that there is not enough free disk-space availabe, so I first increased the .vdi-file by using the Windows-Commandline: ...
0
votes
0answers
249 views

Problem installing ArchLinux on LVM on a LUKS setup via archboot

I've used archlinux before, and I've decided to have it enccrypted. I use BIOS. I used the latest vesion of archboot. I made an LUKS setup, then made lvm volume group and two ext4 partition in it for ...
2
votes
1answer
120 views

/var on an Logical Volume on ISCSI

I have Physical Volume that is on an open-iscsi device. This device is mounted after Linux has already started writing to the log files. Can I mount a Logical Volume on that Physical Volume to /var to ...
0
votes
1answer
275 views

Understanding output of lvdisplay in LVM/Linux [closed]

I am new to Linux admin field I just want to know the meaning of following fields in lvdisplay output root@sandbox: lvdisplay rootvg/swaplv | grep -i '# open' # open 2 root@sandbox: ...
1
vote
1answer
239 views

mdadm + lvm2: destroyed all superblocks accidentally

I accidentally overwrote all my RAID1 superblocks with garbage. I think this happened because I ALT-CTRL-DEL booted when the Ubuntu had put me in some kind of hard disk recovery mode. My display ...
1
vote
2answers
663 views

Oracle ASM disk group list

We have Oracle ASM running under LVM and now I want to expand one of ASM disk group size, but I don't know which LVM filesystem is associated with specific ASM disk group. Is there a way to find out ...
1
vote
1answer
1k views

Cannot mount LVM2 partitions [closed]

I have a 160GB hard drive here with an LVM2 partition that contains two EXT3 partitions that I'm trying to mount. However, when I try to mount either of those two partitions inside the LVM2, I get ...
3
votes
2answers
864 views

replace xen kernel with non xen kernel

I have a virtual appliance in Xen format (XVA) that I wish run to on another hypervisor (MS Hyper-V). What have I done so far: I have converted the XVA to OVF using XenConvert, this resulted in a vhd ...
2
votes
2answers
108 views

Why is LVM metadata backed up to /etc/lvm and not /boot?

Recent question I saw got me thinking on this particular point: If bootloader restrictions usually cause /boot to be outside LVM, why isn't this the target of LVM metadata backups? Putting it ...
2
votes
2answers
4k views

Mounting LVM2 volume gives me 'mount: you must specify the filesystem type'

I have a LVM2 Volume Group 'vgXEN' with a Logical Volume in it called 'test-disk'. This is the output of lvdisplay: --- Logical volume --- LV Path /dev/vgXEN/test-disk LV Name ...
3
votes
1answer
237 views

What are potential consequences of going nuts with sparse file based vdevs for a LVM to ZFS migration?

I've been playing around with ZFS having finally accepted that it's mature enough I shouldn't get burned. Now to migrate the home NAS box which is currently an LVM JBOD set up that's quite full, but ...
2
votes
1answer
228 views

reverse extending the LVM group volume

I accidentally extended the volume to utilized 100% free disk space on LVM group volume. I need it to utilized only /dev/sdb disk but it took free space from both disk, since they were on the same ...
0
votes
2answers
337 views

list the devices associated with logical volumes without using lvm2 package commands

I want to list all the physical volume associated with logical volume. I know lvdisplay, pvscan, pvdisplay -m could do the job. but I don't want to use these commands. Is there any other way to do it ...
2
votes
0answers
157 views

What changed between kernels 3.7 and 3.9 that affects LVM/RAID root file systems?

I'm trying to fix a (very messy) system that the user hosed by running a kernel upgrade from 3.7.10 to 3.9.6. the root file system is on an LVM volume on top of a software RAID array. The boot manager ...
2
votes
1answer
108 views

Having trouble with LVM snapshot

I have a funtoo linux machine which I am trying to add ubuntu to (thats a whole other issue). It is encrypted with luks and has lvm on top of that. I have a 2 TB harddrive (sdb) which I would like ...
1
vote
1answer
159 views

Reading encrypted partition with broken LVM2 inside?

I overwrote some LVM2 metadata in much the same way as Recovering overwritten LVM metadata . That is, I attempted to install Debian 6.0.7 on a system with existing encrypted volumes and LVM2 volumes. ...
2
votes
2answers
171 views

Extend my LVM After Upgrading SSD

So, I have a 120 GB SSD (/dev/sdb) that I have a dual boot of Windows 7 and Fedora 17. When I first started I only have a 60 GB SSD so my space was very limited. I have a partition on my SSD ...
3
votes
1answer
728 views

Remount lvm partitions after OS reinstallation

I recently upgraded to Linux Mint from Ubuntu. I have overwritten /dev/sda2 which had Ubuntu. I had earlier created two logical volumes opt and virtualization from /dev/sda1. I forgot to take the lvm ...
0
votes
1answer
250 views

Fedora 17-15 old lvm partition reporting incorrect size

After years i decided to upgrade from Fedora 15 to 18, but as per the guidelines only 2 versions can be jumped, so i decided to settle with Fedora 17 and ran preupgrade , all was going fine, till ...
2
votes
2answers
219 views

Transfering whole linux system to a new disk

Few weeks back I installed linux as a virtual machine on my windows 7 system but I didn't gave much thought to(or miscalculated) the size of various partitions and even worse I'm not using 'lvm'. ...
1
vote
2answers
2k views

How to extend LVM in RHEL 5.6

I need to extend the LVM on one server. This is the output of df -h: Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p2 58G 26G 29G 48% / ...
6
votes
3answers
929 views

merging LVM volume groups

Situation: I have a server with 4 1TB drives in LVM as shown below. The server is a openvz hardware node with a dozen or so openvz containers. At this time each container uses one disk only. This ...
2
votes
1answer
356 views

Recover MDADM Raid 5 in LVM with badblocks

I'm pretty sure I'm dealing with at stuffed RAID 5 array. Two of the drives were listed as failed in /proc/mdstat and mdadmdetails: 0 0 8 33 0 active sync /dev/sdc1 ...
5
votes
1answer
96 views

Why do some of my lvm partitions have “-real” appended to their names?

In the /dev/mapper directory I can see my lvm partitions, but then I'll see some other ones with the same names, but with "-real" appended to them. What's that about?
3
votes
3answers
2k views

Where does LVM store data?

My questions are similar to this thread Does LVM increase the risk of data loss?, however, I couldn't find a satisfying answer. So the question is, where does LVM store data/files, when I have a ...
9
votes
1answer
2k views

Defragmentation of LVM2 logical volumes

Question: Is there a tool supporting de-fragmentation of LVM2 logical volumes ? (Making their extents into consistent sequences) Preferably by defining desired order of extents (something like ...
3
votes
1answer
433 views

Followed SSD-optimization advice, now root partition won't mount rw

Tonight I decided I wanted to tweak the configuration of my Debian install on my netbook (Ideapad S10-2) to work better with the SSD I put in it. I have done this before and never had any issues but ...
3
votes
1answer
244 views

Create Logical Volume Snapshot at boot and before mount

I'm using Kubuntu 11.10 and before I upgrade to 12.04, I want to make snapshots of my filesystems. Coming to think of that, I realized that it can be very useful to create snapshots of logical volumes ...
2
votes
2answers
757 views

LVM2: Obtaining lv and vg names from path (volume group name and logical volume name)

Let's assume we have lv path: lvpath=/dev/mapper/vg2-Music Than I split lvdisplay -c with cut: vgname="$(lvdisplay -c "$lvpath" | cut -d ':' -f 2 )" lvname="$(basename "$(lvdisplay -c "$lvpath" | ...
3
votes
1answer
6k views

Move a logical volume from one volume group to another

Is it possible to move a logical volume from one volume group to another in whole? It is possible to create a (more or less) matching lv and copy the data over, but is there any way to do this with ...
4
votes
4answers
5k views

Backup of LVM2 logical volume

I'd like to make backup on external drive of LVM2 logical volume in dd manner. Approach I consider is to make lv on extranl drive with identical size copy with dd (Please let me know if you see ...
4
votes
2answers
427 views

LVM2: lvcreate -L - What does 's', 'S' suffix stand for?

man lvcreate - Am I blind or there is no description for "sS" ? (I can't find on redhat manual pages as well) -L, --size LogicalVolumeSize[bBsSkKmMgGtTpPeE] Gives the size to ...
2
votes
1answer
167 views

What is the smallest LVM2 logical volume unit?

Could you ensure me that minimal LVM2 size Unit is one extent to which all sizes are rounded up ? Is 4MiB the default size of extent for LVM2 ? Can it be configurable or is it the only size ? Small ...
6
votes
2answers
897 views

How to properly unplug/plug removable LVM2 device?

How to properly unplug (remove) and later plug (insert) removable (hot-plug, usb etc) storage device with LVM2 on it ? I've found this note Remove (unplug, eject): lvchange -an ...