Subject: bug#50601: closed (Re: bug#50601: parted-3.4 | File system not created)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 15 Sep 2021 15:37:02 +0000

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 [email-masked].

-- 
50601: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50601
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#50601: parted-3.4 | File system not created
From: "Brian C. Lane" <[email-masked]>
To: Ricky Tigg <[email-masked]>
Cc: [email-masked]
Date: Wed, 15 Sep 2021 08:36:06 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

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

Subject: parted-3.4 | File system not created
From: Ricky Tigg <[email-masked]>
To: [email-masked]
Date: Wed, 15 Sep 2021 13:59:08 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

*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"