Answer the question
In order to leave comments, you need to log in
Why did partition dm-0 become dm-1?
Good day to all.
There is a mail server on Centos 6.5. I added an HDD to it for storing letters, made a lvm partition. Everything was fine and lsblk showed the following picture:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 500M 0 part /boot
└─sda2 8:2 0 19,5G 0 part
├─VolGroup-lv_root (dm-0) 253:1 0 15,6G 0 lvm /
└─VolGroup-lv_swap (dm-1) 253:2 0 3,9G 0 lvm [SWAP]
sdb 8:16 0 1,7T 0 disk
└─sdb1 8:17 0 1,7T 0 part
└─VolGroupMail-lv_mail (dm-2) 253:0 0 1,7T 0 lvm /var/spool/mail/vmail
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 20G 0 disk
├─sda1 8:1 0 500M 0 part /boot
└─sda2 8:2 0 19,5G 0 part
├─VolGroup-lv_root (dm-1) 253:1 0 15,6G 0 lvm /
└─VolGroup-lv_swap (dm-2) 253:2 0 3,9G 0 lvm [SWAP]
sdb 8:16 0 1,7T 0 disk
└─sdb1 8:17 0 1,7T 0 part
└─VolGroupMail-lv_mail (dm-0) 253:0 0 1,7T 0 lvm /var/spool/mail/vmail
Answer the question
In order to leave comments, you need to log in
Similar cases were if I swapped ports. those. for example, the hard with the system hung on sata-2, began to install a new hard, stuck it into a free sata-1.
Or another case, there were 2 hard drives, one on sata-1, an additional one on sata-2, in the process of cleaning the PC and turning off hard drives, I put an additional one on sata-1, the main one on sata-2.
To avoid this in the future, it is better to hook everything up by UUID.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question