The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
17 views

Mounting synology disks in ubuntu

I have some files on synology disk that I would like to recover with extundelete. I have mounted the raid1 setup. So on the disk is two raid storages (md2 and md3) and they are connected to one with ...
1
vote
1answer
72 views

Physical volumes, logical volumes, superblocks gone… how to boot?

A story fairly similar to this one happened to me yesterday. Update: My only hard drive /dev/sda was originally partitioned this way: Device Boot Start End Blocks Id System ...
0
votes
1answer
21 views

Grub and Logical Volume Management

I've not been able to find any relevant information in the Arch Wiki about using LVM with Grub as the bootloader (BIOS). Let's say I've created the volume group 'volgroup00' using partitions spanning ...
1
vote
1answer
46 views

broken fs after removing disk from LVM group

I messed up a bit and I am trying to find the best way to recover. A few days ago, 1 of the physical disk of my lvm setup started to show sign of failure (I/O errors) so I decided to move it to ...
1
vote
1answer
38 views

BASH - Command not found - LVM over LUKS Automation Script

I've been working a bash script to automate the process of opening and closing an LVM over LUKS external hard drive. However I continue to receive errors on line 28: $(vgchange -a n ; cryptsetup ...
0
votes
2answers
32 views

LVM move logical volumes across physical volumes without data loss

I wonder how can I move my logical volumes from current physical volume to another without data loss. I have read mans but I haven't found this information there. I would be grateful for any help. ...
1
vote
1answer
20 views

How to see the space used/free from each PV inside a LVM

I have a VG called ubuntu with a single LV called titan that is made out of 4 PV (sd[a,b,c,d). I want to know how much space is used/free on each PV inside that LV. Commands like pvdisplay, ...
1
vote
0answers
49 views

Two 500GB (JBOD) drives out of an NAS-200 put into UBUNTO 14-04 and put back into an LVM to access old information

I’m in a dilemma as I’m new to Linux (not helpless, but new) and would like some help if you don’t mind. I have been working with Linux for several years to some extent so I can get around some with ...
2
votes
2answers
190 views

LVM Ontop of LUKS using Grub

What am I trying to do? Install Arch with full system encryption (sans boot and media partition) using LVM on top of LUKS on an external hard drive (sdb) using: ...
0
votes
0answers
115 views

lvmetad hangs on startup

I got a machine running archlinux that have a problem on boot. It hangs for 90s waiting for pvscan on block devices, and then give up. (actually, the pvscan process are still stuck ,and any lvm ...
-2
votes
1answer
40 views

How many volume groups can be created in physical volume?

I want to know the details regarding LVM: please provide some link regarding Linux to study and understand it.
1
vote
1answer
202 views

Fix LVM physical volume definition after removing /dev/sdb

Recently I set up LVM partition with an new disc /dev/sdc. I created the LVM with the following commands: pvcreate /dev/sdc vgcreate data /dev/sdc mkfs.ext4 /dev/data/srv tune2fs -m 0 ...
0
votes
0answers
155 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 ...
3
votes
2answers
804 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
626 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
36 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
88 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
406 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 ...
4
votes
2answers
549 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
658 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
366 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
47 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
170 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
2answers
230 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
388 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
148 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
427 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: ...
2
votes
1answer
335 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
2k 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 ...
2
votes
1answer
2k 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
1k 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
137 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
10k 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
348 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
393 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
936 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
165 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 ...
3
votes
1answer
149 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
180 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
269 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
932 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
321 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
354 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
3k 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
1k 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
418 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
107 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
3k 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
3k 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
464 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 ...