[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Disklabel type



On Sun, 27 Jun 2021 at 20:51, David <bouncingcats@gmail.com> wrote:

> You're trying to apply a *filesystem* label to a block *device*.
> That cannot work.

Not the best wording, sorry, I'll try to be a bit clearer.

Your command failed because it tried to apply a *filesystem* label to a
partitioned block device /dev/sda. That cannot work because /dev/sda
is currently not an extN filesystem. /dev/sda rather contains a partition table
and partitions. And in this case, as is very common, it is the partition
that likely contains an extN filesystem. The only partition that you show
that does contain a extN filesystem is /dev/sda1.

/dev/sda2 contains an extended msdos partition, which is not a
extN filesystem.

/dev/sda5 is a logical partition inside /dev/sda2, and
it is being used by LVM, so the device /dev/sda5 also is not
an extN filesystem. Although some of the LVM devices inside it
may well be extN filesystems providing your root and home.


Reply to: