GNU bug report logs - #50601
parted-3.4 | File system not created

Previous Next

Package: parted;

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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ricky Tigg <ricky.tigg <at> gmail.com>
Subject: bug#50601: closed (Re: bug#50601: parted-3.4 | File system not
 created)
Date: Wed, 15 Sep 2021 15:37:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#50601: parted-3.4 | File system not created

which was filed against the parted package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 50601 <at> debbugs.gnu.org.

-- 
50601: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50601
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Brian C. Lane" <bcl <at> redhat.com>
To: Ricky Tigg <ricky.tigg <at> gmail.com>
Cc: 50601-close <at> debbugs.gnu.org
Subject: Re: bug#50601: parted-3.4 | File system not created
Date: Wed, 15 Sep 2021 08:36:06 -0700
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


[Message part 3 (message/rfc822, inline)]
From: Ricky Tigg <ricky.tigg <at> gmail.com>
To: bug-parted <at> gnu.org
Subject: parted-3.4 | File system not created
Date: Wed, 15 Sep 2021 13:59:08 +0300
[Message part 4 (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 5 (text/html, inline)]

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.