GNU bug report logs -
#50601
parted-3.4 | File system not created
Previous Next
Reported by: Ricky Tigg <ricky.tigg <at> gmail.com>
Date: Wed, 15 Sep 2021 11:00:02 UTC
Severity: normal
Done: "Brian C. Lane" <bcl <at> redhat.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50601 in the body.
You can then email your comments to 50601 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-parted <at> gnu.org
:
bug#50601
; Package
parted
.
(Wed, 15 Sep 2021 11:00:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ricky Tigg <ricky.tigg <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-parted <at> gnu.org
.
(Wed, 15 Sep 2021 11:00:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
*OS:* Fedora | *Component:* parted-3.4-2.fc34.x86_64
*parted mode: *interactive
*Target device:* 256 MiB USB-storage
*Starting state:* existence alone of partition table; then no partition.
Hello.
- The creation of partition table and naming of partition when supported
by selected partition table, succeed.
- The creation of filesystem fails.
# parted /dev/sdc
(...)
(parted) mkpart primary ext4 0% 100%
(parted) quit
Information: You may need to update /etc/fstab.
*Note:* Unknown instruction in regards to mention "*You may need to update
/etc/fstab*".
# parted /dev/sdc
(parted) print
Model: Kingston DataTraveler 2.0 (scsi)
Disk /dev/sdc: 255MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 255MB 254MB primary lba
(parted) quit
For example, here is a Gparted v.1.3.1 interpretation:
"Unable to detect file system! Possible reasons are:
- The file system is damaged
- The file system is unknown to GParted
- There is no file system available (unformatted)
- The device entry /dev/sdc1 is missing"
[Message part 2 (text/html, inline)]
Reply sent
to
"Brian C. Lane" <bcl <at> redhat.com>
:
You have taken responsibility.
(Wed, 15 Sep 2021 15:37:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ricky Tigg <ricky.tigg <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 15 Sep 2021 15:37:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 50601-close <at> debbugs.gnu.org (full text, mbox):
On Wed, Sep 15, 2021 at 01:59:08PM +0300, Ricky Tigg wrote:
> *OS:* Fedora | *Component:* parted-3.4-2.fc34.x86_64
> *parted mode: *interactive
> *Target device:* 256 MiB USB-storage
> *Starting state:* existence alone of partition table; then no partition.
>
> Hello.
>
> - The creation of partition table and naming of partition when supported
> by selected partition table, succeed.
> - The creation of filesystem fails.
>
> # parted /dev/sdc
> (...)
> (parted) mkpart primary ext4 0% 100%
parted does not create filesystems, to do that you need to run mkfs.ext4
on the new partition. The partition value in parted is to tell parted
what you plan to use it for so that it can setup the UUID or partition
type correctly.
Brian
--
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart
Information forwarded
to
bug-parted <at> gnu.org
:
bug#50601
; Package
parted
.
(Thu, 16 Sep 2021 08:07:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 50601 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Good to know. That turns unexpectedly that report into the most common
observable issue, which has root in documentation and
descriptions.commands. Of course from the analyse of relevant materials,
manual PARTED(8) and parted's interactive interface "(parted) help", the
obvious is noticeable; yur depicted description is there missinge.
$ man parted
mkpart [part-type name fs-type] start end
Create a new partition. part-type may (...).
# parted /dev/sdc
(parted) help
mkpart PART-TYPE [FS-TYPE] START END make a partition
Here is the relevant information in this regards, though documented lately
in the logical information chain. Its reading may for that very reason
easily be missed:
# parted /dev/sdc
(parted) help mkpart
(...)
'mkpart' makes a partition without creating a new file system on the
partition. FS-TYPE may be specified to set an appropriate partition ID.
That's precisely within manual PARTED(8) and parted's interactive interface
"(parted) help" that information of first class relevance are dully
expected to be documented. What a pity it has not been according to that
principle since 2007 March 29 till nowadays. Regards.
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 14 Oct 2021 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 252 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.