3
votes
1answer
27 views

I can see my LVM but I can't initialize it. Missing UUID of one of the disks

I have had a 2 disk LVM called Data going for about 6 months, and I recently bought a third disk. I installed the disk in the machine, and wanted to format it and extend the lvm onto it, like I've ...
2
votes
2answers
93 views

lvm: what's the purpose of a Volume Group?

Each Volume Group can have many resizeable Logical Volumes. each of Logical Volume can have different filesystem, encryption options etc. that means having a single Volume Groups is enough. so why LVM ...
1
vote
2answers
34 views

How to find the underlying disks of a mirrored volume in LVM (linux)?

When I run command lvs -a the output shows the logical volumes from which the mirrored-volume has been made but how to find the actual disks from which the sub-logical volume were allocated. Any ...
1
vote
2answers
18 views

Restore formated Partition Table on LVM Physical

I have a machine (guest VM running CentOS 6.5) with 2 disks. Main OS on sda and then a 2TB LVM on the second sdc. I added 2 more 2TB disks to the machine and was going through the process of ...
4
votes
1answer
54 views

LVM2 pvdisplay and vgdisplay disagree

In my laptop, I have a single hard drive (/dev/sda). On this hard drive, I have an EFI partition (/dev/sda1), a boot partition (/dev/sda2), and an encrypted partition containing / (/dev/sda3). Inside ...
1
vote
4answers
33 views

targeting a specific block with e2fsck to shorten wait

Recently had a LVM'd CentOS 6.5 install get accidentally cold-shutdown. On bootup, it says that the home partition need fscking: /dev/mapper/vg_myserver-lv_home: Block bitmap for group 3072 is not ...
1
vote
1answer
21 views

How do I see what logical volumes are on a physical volume?

I have a volume group composed of dissimilar drives - an HDD and an SSD. I'd like certain LVs to live on the SSD. I can suggest this to lvcreate when creating new LVs, and I can move things around ...
1
vote
1answer
79 views

Resize Disk on Linux

df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_cloud-lv_root 51606140 9985252 38999448 21% / tmpfs 515252 0 ...
4
votes
3answers
125 views

How does LVM find drives after setup

I want to move all my 14.5 TB of media drives (not OS) to a combined LVM file system due to constant problems arranging things to fit into multiple smaller file systems. My question is if after setup ...
4
votes
2answers
98 views

CentOS can't use new extented space on system disc

I have CentOS installed in my VirtualBox and there was small HDD for the system itself(about 8-9GB). After some time of using this, this virtual disc got full and I couldn't install updates so I ...
1
vote
0answers
55 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 ...
3
votes
1answer
174 views

SSD as a read cache for FREQUENTLY read data

I'm looking for ways to make use of an SSD to speed up my system. In “Linux equivalent to ReadyBoost?” (and the research that triggered for me) I've learned about bcache, dm-cache and EnhanceIO. All ...
2
votes
1answer
153 views

I/O errors on Linux LVM

I have a CentOS 6 box with LVM setup and one of the PVs is a USB disk (I know). One of them is getting the error: Oct 30 10:57:07 alpha01 kernel: lost page write due to I/O error on dm-3 Oct 30 ...
0
votes
1answer
251 views

No Space left on device - Debian

when Im new to linux and try to run this below code apt-get -f install getting below error: Checking the available space df Tho output How to increase the available space in /usr path?
1
vote
0answers
37 views

Restored VG has shifted volumes

I'm recovering a PV on a mdadm RAID 1 with a single VG containing several LVs. The underlying devices have several bad sectors (one just a few, the other really much) and a silly typo made it ...
0
votes
1answer
97 views

when is it safe to remove `/dev/.tmp-block-*` files

i'm currently experimenting with temporary lvm-snapshots (that is: create a snapshot of an LV, do something with the snapshot (e.g. run a backup), then destroy the snapshot. something along the lines: ...
0
votes
1answer
165 views

Have to run partprobe at every boot

I created an LVM logical volume. I partitioned it manually. I ran partprobe. I found the new device in /dev/mapper, then I mounted it where I needed it. Everything works. ...except on reboot, ...
2
votes
2answers
84 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 ...
-4
votes
1answer
152 views

Could you someone explain me lvcreate

Could someone explain me this line: lvcreate -l 128 vg_appli -n lv_cmp 128 is the size ?
0
votes
1answer
79 views

Can we create lvm volume group with mapped device?

I can create a lvm volume group with a loop device. But if I use dmsetup to map the loop device into several devices, then I can't create a lvm group with /dev/dm-. Why is it not possible to create ...
0
votes
2answers
88 views

What's the difference between Linux and Linux LVM?

If I want to install new hard drive should I make the file system Linux or Linux LVM? Also after that I've got to format again with mkfs.ext4. Actually what are we doing? The first one is formatting ...
0
votes
2answers
230 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
2answers
61 views

How to configure hard drive

I have a hard drive that is not configured, it shows this in fdisk -l: Disk /dev/dm-2: 107.4 GB, 107369988096 bytes 255 heads, 63 sectors/track, 13053 cylinders Units = cylinders of 16065 * 512 = ...
1
vote
0answers
186 views

Can't see my ssd drive when booting using grub on a usb pen

I installed debian on my laptop and everything was fine (I may need to mention that I'm using LVM) until I reached the grub point. Since I have a GPT partition he refuses to install properly. I ...
3
votes
1answer
365 views

Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?

I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned? This will be used on RHEL 6 which does include thin ...
5
votes
3answers
2k views

What is the best practice for adding disks in LVM

According to the Linux manpages you can add raw disks as well as partitions to a volume group. In other documentation (RedHat, CentOS or openSUSE), all examples refer to adding partitions to the VG ...
3
votes
1answer
909 views

What's the easiest way to decrypt a disk partition?

I made a mistake of encrypting the entire LVM physical volume (contains both home, root, and swap) when installing a CentOS 6.4 (2.6.32-358.6.1.el6.x86_64) box. I soon came to realize that moving ...
1
vote
2answers
203 views

Transfer a Fedora system to another computer

I'd like to transfer my Fedora to a remote machine. Fedora is under Grub 2.0 and on the remote machine there is a Centos system and Grub 0.97. In fact, I have two questions. First is how to properly ...
1
vote
1answer
89 views

How to add RAID5 to existing crypto-LVM?

I recently installed Debian Wheezy and let the installer guide partition the disk using a whole partition with encryption (LVM). Later on I've added four disks and setup RAID5 on them (using mdadm). ...
1
vote
1answer
147 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. ...
1
vote
2answers
262 views

Should I be worried? Segfaults reported in syslog when merging LVM snapshot (reverting the original back to the snapshot)

I was just experimenting with snapshots in LVM on Ubuntu 12.10. I created a snapshot logical volume of 6.5 GiB, and after making some changes to the origin decided to merge the snapshot back in to ...
5
votes
1answer
312 views

Determining LVM Extent numbers for given file

I'm currently engaged in a non-work related homework exercise. I have an ext4 filesystem sitting on a logical volume. I'm testing different performance tuning strategies and this idea occurred to me. ...
2
votes
2answers
3k views

Change Partition Table with GParted

I have an Ubuntu 12.04 LTS server that has 6x600GB SAS drives in a RAID 5 configuration (Perc 6/i). The partition scheme looks like this: Partition File System Mount Point Size /dev/sda1 ...
2
votes
1answer
516 views

Create Logical Volume with non-LVM partition

I'm not sure if the title actually depicts my question, but I will try to explain. I have seen everywhere it is mentioned to create a partition of type LVM (8e) and then create logical volume with ...
1
vote
1answer
1k views

Updating disk free size without rebooting the host

I use RHEL4 with LVM2 on it. At times even after removing large files more that a GB the partition size is not getting updated when is see using df command. -bash-3.00$ df -h Filesystem ...
1
vote
2answers
1k views

Must the filesystem be unmounted while extending an LVM logical volume?

I have seen some tutorials on extending an LVM2 logical volume. None of them instruct you to unmount the filesystem. They claim that you can extend an LVM volume while it is in use. Is this right?
1
vote
2answers
1k views

How to Extend LVM in Redhat 5.6

I need to Extend the LVM on one server. This is the df -h result. Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p2 58G 26G 29G 48% / /dev/mapper/VolGroup00-LogVol00 ...
2
votes
2answers
879 views

Does swap need to be on a contiguous LVM logical volume

I am setting up a machine to run a number of virtual machines. I am using a single HDD with a boot partition and an LVM partition. I read on the Arch wiki that logcial volumes which will be used for ...
6
votes
3answers
659 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 ...
1
vote
1answer
423 views

Complete install on RAID1 + LVM

When doing a complete install of Linux is it possible to install everything including /boot on 2 software RAID 1s (4 hdds) + LVM? I haven't been able to figure out whether this is definitely ...
5
votes
2answers
3k views

How can I resize my root partition in Debian?

I am trying to add space to my root partition and am really not sure the safest way to go about it. I have read this thread, Can I resize the root partition without uninstalling and reinstalling ...
0
votes
1answer
353 views

how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2

I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
2
votes
0answers
333 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 ...
3
votes
2answers
849 views

Move root filesystem on a logical volume to a different disk

I'm trying to move my root LV to a new VG on my brand new SSD and it's driving me crazy. I think I pulled it off with rsync, but now grub is refusing to register the new boot option off of ...
4
votes
4answers
2k views

Recovering overwritten LVM metadata

Yesterday I was trying using the Debian install in rescue mode in order to fix my Grub (The menu-item for Debian was suddenly gone). Now I wasn't able to fix it and didn't have a lot of time, so I ...
1
vote
3answers
557 views

How to find all disks & their size before using them?

I need to know the following information, before using the harddisk to create logical volumes or database.. Any perl modules or snippet would be of great help. how many hard disks are presented to ...
5
votes
1answer
3k views

Logical volume missing after reboot

Centos- 6, LVM2 after a system hang and hard reboot. lvdisplay and lvscan return no volumes. It had volumes earlier...how to recover? there is data on LV (logical volume) - shared as NFS export.. ...
1
vote
1answer
781 views

mdadm raid0 with disks of different size?

Currently I'm using LVM just to merge a few disks of different size. I want to know if it is possible to use mdadm with stripes instead of LVM? Will it give me additional performance? Will it use ...
4
votes
4answers
1k views

Partitioning a 2tb drive

Im new to linux Im planning to install Squeeze on a 2tb hard drive a follows: / - 10gb swap remaining space will contain /home, around 1.9tb i hope, i will try to use as lvm to add my old 1tb drive ...
1
vote
1answer
624 views

How do I attach my LVM RAID's to a new Ubuntu install?

I have an Ubuntu 9 Desktop system that I mainly use as a media server. I have a 2TB RAID5 and a 500GB RAID1, both using LVM. The OS drive is a 4GB CompactFlash card which has finally run out of space. ...