Questions tagged [lvm]

lvm (logical volume manager) is a software that allows disk partitionning by hiding the physical limitations of the underlying disks. It can make logical partitions from separate physical partitions even on separate disks, hide mirroring, allow increasing the size of a logical volume while used and so on

190 questions
-1
votes
3 answers

Can't open /dev/sda2 exclusively. Mounted filesystem?

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sda: 3999.7 GB, 3999688294400 bytes 255 heads, 63 sectors/track, 486267 cylinders Units = cylinders of 16065 * 512 = 8225280…
Emma Skye
  • 23
  • 1
  • 1
  • 4
-1
votes
1 answer

filesystem disk space usage not being updated - RHEL5, LVM, ext3

On a RHEL5 system, running LVM 2.02/17, my ext3 filesystem does not update the stats in "df -h". I've almost used up the filesystem's freespace with files I manually created with both dd and copying log files from /var. Yet df still says the…
Lyle
  • 43
  • 5
-1
votes
1 answer

How to create lvm volume in other directory rather than /dev

We know that we can use vgcreate to create a group and lvcreate to create a volume. And the volume would be /dev/mapper/$group/$volume, but if we want the volume to be created at say $dir/mapper/$group/$volume. I saw someone write a program which…
dspjm
  • 5,473
  • 6
  • 41
  • 62
-2
votes
1 answer

Can't reclaim lvm "thin pool" space

The pool usage is very large compared to the lvm volume, but it doesn't seem to be actually used. Previously, the metadata area was full and the metadata was expanded. Since then I've had "lvm transaction id mismatch" issue and I solved it through…
PLIP
  • 1
  • 1
-2
votes
1 answer

How do I assign another hard disk to root in linux?

The following is the current status of my disk: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 62M 1 loop /snap/core20/1587 loop1 7:1 0 62M 1 loop…
Joker
  • 47
  • 7
-2
votes
1 answer

How to resize Bcache PV?

I want resize my /dev/bcache0 to full HDD size. But I use resize2fs /dev/bcache0 it tell me: [localhost-PC ~]# resize2fs /dev/bcache0 resize2fs 1.46.2 (28-Feb-2021) resize2fs: Device or resource busy while trying to open /dev/bcache0 Couldn't find…
iHad 169
  • 1,267
  • 1
  • 10
  • 16
-2
votes
1 answer

How to setting up MySQL Master-Slave Replication with LVM snapshots

There are multiple ways to take a MySQL replication, or rebuilding it. How can we build master-slave replications via LVM snapshot? And also which is the most effective way among below 4 choices & why ?? Setting up MySQL Replication using…
Skanda Shastry
  • 182
  • 6
  • 17
-2
votes
1 answer

Why do "df" and "du" display different used space values on an LVM volume?

[root@local ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 524G 465G 32G 94% / /dev/sda1 99M 13M 82M 14% /boot tmpfs 18G 0 18G 0%…
mojidong
  • 9
  • 6
-3
votes
1 answer

anaconda Boot install from lvm

I am installing Fedora 31, via tftp. My system has 3 disks: sda - the disk to install onto; sdb/sdc are in a lvm vg group (VG1) that has an one lv (lv1). This lv has the F31 disk image (.iso), as well as a kickstart file. Question: how to boot…
user3182551
  • 343
  • 2
  • 9
-3
votes
1 answer

High availability clustering in netbsd

We need to do high availability clustering on one of our system. I have found sum of the tools like HA-Lvm from RedHat, but it is not supported with netbsd. We need a scenario where the applications should run optimally in active/passive (failover)…
mongiabrothers
  • 375
  • 3
  • 9
1 2 3
12
13