Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #236525

Re: Disklabel type

From David <bouncingcats@gmail.com>
Newsgroups linux.debian.user
Subject Re: Disklabel type
Date 2021-06-27 13:10 +0200
Message-ID <CuAPL-2uV-1@gated-at.bofh.it> (permalink)
References <CuAG6-2aZ-9@gated-at.bofh.it> <CuAG7-2aZ-11@gated-at.bofh.it> <CuAG6-2aZ-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Disklabel type David <bouncingcats@gmail.com> - 2021-06-27 13:00 +0200
  Re: Disklabel type David <bouncingcats@gmail.com> - 2021-06-27 13:10 +0200

csiph-web