Tag Info

Hot answers tagged

4

This was asked recently but it was in the context of local disks. In that situation, there is a good reason to use a partition table on the disk even if you only intend to make it a single big partition spanning the entire disk: documenting the fact that the disk is actually in use, thus preventing accidents. I believe that the situation is different for ...


2

The entries in /dev/mapper are LVM logical volumes. You can think of these as Linux's native partition type. Linux can also use other partition types, such as PC (MBR or GPT) partitions. Your disk is divided in MBR partitions, one of which (/dev/sda2) is an LVM physical volume. The LVM physical volume is the single constituent of the volume group ...


2

It's not an error, so you shouldn't try to make it go away. The scripts in your initramfs are opportunistically checking to see if they can activate the LVM VG that contains your root device before they bother asking for a passphrase to decrypt any encrypted devices. In the case that your root device is not encrypted, this will work, and the system will ...


1

The first thing to check are your filter and global_filter options in /etc/lvm/lvm.conf. Make sure you aren't filtering out the devices your PVs reside on. The cache is set with the cache_dir option in the same file; on my Debian box it defaults to /run/lvm. The cache (if any) should be in that directory. If obtain_device_list_from_udev is set, I believe no ...


1

I think you missed section '13.4.3. Do the backup'. LVM can be used to take a copy of the data at a point in time so you have a consistent** image of that data. As such, you can then use another tool (eg tar, fbackup etc) to do the actual backup. If you want to use LVM as a backup mechanism in itself, yes you do need to actually keep the LVM snapshot. ** In ...


1

It's not a performance problem, it's a troubleshooting and fixing things problem. /boot is the bootstrap location - in there is a few files that start off everything else in your system. And sometimes you need to poke in there to fix a problem (such as grub config or similar). If you have to do this, it's useful to have a lowest common denominators sort of ...


1

Assuming you're running Linux, in /etc/lvm/lvm.conf set: use_lvmetad = 0 Stop LVM prior to doing that: /etc/init.d/lvm stop. Make the change and restart LVM: /etc/init.d/lvm start. EDIT: I realize there's no such file or directory on Linux Mint, hence neither on Debian nor Ubuntu, shall I deduce. If you don't have such a service, just reboot the computer. ...


1

Does your disk partitioning tools recognise lvm? If they do Calada gives the right advice. I did a couple tests and file and fdisk on debian both do the right thing, but test the tools you use. $ sudo file -s /dev/sd* /dev/sda: DOS/MBR boot sector /dev/sda1: Linux rev 1.0 ext2 filesystem data, UUID=censored, volume name "boot" /dev/sda2: LVM2 PV (Linux ...


1

A swap signature does not necessarily mean that the system is currently actively using this partition for swap. It just means it looks like a swap partition on disk. And that's what LVM is asking you: do you want to wipe this thing that already seems to be on the disk or not? If swapoff says the device is not in use, then you're good. If in doubt, have a ...


1

You want to use /dev/sda3 as a new LVM PV. /dev/sda3 was previously used as a swap device. You have 2 choices: Overwrite/wipe the previous contents of the device and make it an LVM PV. Don't overwrite, leave it alone, and abort the operation. Naturally, it will not become an LVM PV. You cannot have it both ways. If you want to use this device as an ...


1

Yes, it encrypts the swap partition with no extra effort. Yes, when you hibernate, will it automatically encrypt the disk, including swap (but not the boot partition). Yes, when you start again from hibernation, it prompts for the decryption pass phrase (but not for the account password). You get an unencrypted boot partition, and the rest of the disk is LVM ...



Only top voted, non community-wiki answers of a minimum length are eligible