Tag Info

New answers tagged

2

I didn't know LVM could do RAID either. Personally, I would stick with mdadm since it's a much more mature software that does the same thing. If something breaks with LVM RAID, you're probably not going to be able to get as much support than if you had gone with mdadm. Additionally, I wouldn't trust LVM RAID since LVM has historically shown to not be the ...


1

You probably need to install e4fsprogs CentOS package before you want to create an ext4 filesystem. In general, mkfs is just a front-end for a series of mkfs.* binaries. See the following example: root@locutus:/home/asd# strace -f -e trace=execve mkfs -t asdasd /dev/whatever execve("/sbin/mkfs", ["mkfs", "-t", "asdasd", "/dev/whatever"], [/* 18 vars */]) ...


5

In my personal experience, "duplicate PV" is usually caused by the system having multipath access to a particular SAN LUN but LVM hasn't been configured to filter out the block devices for the individual paths. The device mapper name even looks like a WWNN/WWPN (although I don't have enough experience with SLES to know if that could be something else). Not ...


1

Figured it out. I was using kpartx for backups a few months ago and forgot to close the devices with kpartx -d. I discover using partprobe that the lvm volumes wich belong to virtual machines are "exported" to to the server,and fill /dev/mapper with duplicates lvms,so i used kpartx -d to all devices in /dev/mapper and situation return ok. lvs,pvs,vgs didn't ...


2

It should be easy to restore the LVs if they were not fragmented (on LVM level) and if they were simple (linear) volumes; it may work with thin provisioning, too, but I am not familiar with that. You just have to create them in the same order and with the same size as before. I am not familiar with testdisk. If it tells you the size of the volumes it has ...


2

The lvmcache(7) manpage describes how you can remove the cache pool without removing its origin volume: Removing a cache pool LV without removing its linked origin LV This writes back data from the cache pool to the origin LV when necessary, then removes the cache pool LV, leaving the un-cached origin LV. lvremove VG/CachePoolLV Example: ...


2

No, lvm is not required to use xen, just strongly recommended. You can use regular disk files to back the virtual disks assigned to the domUs, either as raw images, or qcow2. You probably want qcow2. On Debian simply installing the xen packages should automatically add extra entries to your grub menu allowing you to choose to boot using xen. This will ...


0

You could just install the LXDE packages to your current Debian install and use LXDE now. There's a metapackage called lxde, if you're using wheezy here's it's "info" page https://packages.debian.org/wheezy/lxde (there are versions for oldstable, stable, sid...) here's a clip: Package: lxde (4+nmu1) LXDE metapackage LXDE (the Lightweight X11 ...


2

Evidently, I didn't create a /etc/crypttab file. Create one, then update-initramfs -u to fix the issue.


2

I had a similar problem, installing openSuSE 13.2 x86_64 from scratch, using a boot partition and an encrypted LVM containing root and swap. (Side note: It's not easy to do that actually since when creating an lvm partition the installer UI will not even let you chose "encrypt this device", you can "ungrey" the checkbox however by first chosing "format ...


0

Thanks everyone who tried to help! The issue got solved by mounting the logical volume on m3 using nfs exactly the same way as done on the rest of the machines m1/m2/m4 which are nfs clients, instead of having soft link on m3 to the logical volume. Simply add the following line to /etc/fstab: <nfs server>:/ /mnt nfs auto 0 0 and then invoke sudo mount ...



Top 50 recent answers are included