Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: gparted taking very long to create filesystem

  1. #1
    Join Date
    Jun 2008
    Location
    Akkrum, Netherlands
    Posts
    169

    Default gparted taking very long to create filesystem

    Hi, I want to partition a new, 6TB, disk with a single ext4 partition. It's not for booting, so making bootable is'nt necessary.

    I attached the disk through USB (2.0).

    Gparted reports (it is reported in Dutch, so I haven't got the exect English messages):

    - it has made an empty partition,
    - wiped old partition signings by writing zero's at several offsets
    - configured the partition type ext4
    - and is now making a new ext4 filesystem with
    Code:
    mkfs.ext4 -F -O ^64bt -L 'backup-2' '/dev/sdf1'
    In the last step it completed a few substeps:

    - reservation of group tables succeeded
    - writing inode tables succeeded
    - create a journal (262144 blocks) succeeded

    But gparted is now a few hours busy writing superblocks and file system meta data.

    That seems very long to me, or am I to impatient?

    The disk is still seen by the system I think:

    Code:
    lsusb:
    Bus 002 Device 004: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
    Code:
    dmesg:
    [ 3265.065949] usb 2-5: new high-speed USB device number 4 using ehci-pci
    [ 3265.222793] usb 2-5: New USB device found, idVendor=152d, idProduct=2338
    [ 3265.222801] usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=5
    [ 3265.222806] usb 2-5: Product: USB to ATA/ATAPI bridge
    [ 3265.222809] usb 2-5: Manufacturer: JMicron
    [ 3265.222813] usb 2-5: SerialNumber: 000001D91851
    [ 3265.258827] usb-storage 2-5:1.0: USB Mass Storage device detected
    [ 3265.259066] scsi host10: usb-storage 2-5:1.0
    [ 3265.259304] usbcore: registered new interface driver usb-storage
    [ 3265.260984] usbcore: registered new interface driver uas
    [ 3270.319182] scsi 10:0:0:0: Direct-Access     WDC WD60 EFRX-68L0BN1          PQ: 0 ANSI: 5
    [ 3270.319666] sd 10:0:0:0: Attached scsi generic sg6 type 0
    [ 3270.320996] sd 10:0:0:0: [sdf] Very big device. Trying to use READ CAPACITY(16).
    [ 3270.321370] sd 10:0:0:0: [sdf] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB)
    [ 3270.322454] sd 10:0:0:0: [sdf] Write Protect is off
    [ 3270.322461] sd 10:0:0:0: [sdf] Mode Sense: 28 00 00 00
    [ 3270.325781] sd 10:0:0:0: [sdf] No Caching mode page found
    [ 3270.325787] sd 10:0:0:0: [sdf] Assuming drive cache: write through
    [ 3270.327034] sd 10:0:0:0: [sdf] Very big device. Trying to use READ CAPACITY(16).
    [ 3270.340090] sd 10:0:0:0: [sdf] Very big device. Trying to use READ CAPACITY(16).
    [ 3270.342472] sd 10:0:0:0: [sdf] Attached SCSI disk
    [ 3316.392876] Btrfs loaded, crc32c=crc32c-generic, assert=on
    [ 3316.445388] JFS: nTxBlock = 8192, nTxLock = 65536
    [ 3316.460421] NILFS version 2 loaded
    [ 3316.556429] SGI XFS with ACLs, security attributes, no debug enabled
    [ 3374.254138] sd 10:0:0:0: [sdf] Very big device. Trying to use READ CAPACITY(16).
    [ 3510.522463] sd 10:0:0:0: [sdf] Very big device. Trying to use READ CAPACITY(16).
    [ 3510.531856]  sdf: sdf1
    [ 3510.908820] sd 10:0:0:0: [sdf] Very big device. Trying to use READ CAPACITY(16).
    [ 3510.918388]  sdf: sdf1
    [ 3552.593622] usb 2-5: reset high-speed USB device number 4 using ehci-pci
    Should I abort gparted, or wait longer?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,777

    Default Re: gparted taking very long to create filesystem

    First (your remark about a tool reporting in Dutch came first), when you want to have a tool "talking in English" because you want to copy/paste it here, precede the command with LANG=C, like in
    Code:
    LANG=C fdisk -l
    A 6TB file system is rather large, thus it will take some time to write the inodes all over it. BUT OTOH I have no idea if the "few hours" you are talking about is reasonable.
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    503

    Default Re: gparted taking very long to create filesystem

    Just bought a new 8TB external drive a couple of days ago, and did the procedures mentioned above. Took maybe 3-4 minutes. If it's taking more than 10-20 minutes, something is up.
    "The time is always right to do what's right." Rev. Dr. Martin Luther King, Jr.
    openSUSE 15.3 5.3.18-59.40-default x86_64

  4. #4
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,611

    Default Re: gparted taking very long to create filesystem

    My experience is that when gparted takes a long time, the problem is always that there is something wrong with the medium. In fact, I use it as one of my tests when someone reports problems with a medium.

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,925
    Blog Entries
    14

    Default Re: gparted taking very long to create filesystem

    What happens if you use YaST's partitioner? Did you create a new GPT ? I really shouldn't take more that a couple of minutes, even through USB2.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    3,373
    Blog Entries
    1

    Default Re: gparted taking very long to create filesystem

    Assuming mkfs.ext4 -F -O ^64bt -L 'backup-2' '/dev/sdf1' included a typo and what was meant was
    Code:
    mkfs.ext4 -F -O ^64bit -L 'backup-2' '/dev/sdf1'
    could it be the delay is a combination of:

    1-32bit EXT4 addressing (instead of 48),
    2- JMicron SATA+PATA controller, and/or
    3-USB 2.0 bus

    does simply make it take a very long time to do 6TB? I have a Sabrent brand USB2+eSATA SATA+PATA that is JMicron based, and its performance has always seemed to be significantly less than stellar on USB2. ISTR seeing specifications for various external USB storage devices report HD size limitations. Maybe that's at the root of this problem? It might be worth attempting the same process except with that HD connected to a motherboard SATA port.

  7. #7
    Join Date
    Jun 2008
    Location
    Akkrum, Netherlands
    Posts
    169

    Default Re: gparted taking very long to create filesystem

    Apparently it takes very long indeed: by accident the USB-cable got loose, after 7 hours of formatting. Dmesg reported

    Code:
    [do apr  5 20:04:41 2018] usb 2-5: USB disconnect, device number 4
    [do apr  5 20:04:41 2018] sd 10:0:0:0: Device offlined - not ready after error recovery
    [do apr  5 20:04:41 2018] sd 10:0:0:0: [sdf] tag#0 FAILED Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
    [do apr  5 20:04:41 2018] sd 10:0:0:0: [sdf] tag#0 CDB: Write(16) 8a 00 00 00 00 01 5d 44 18 d8 00 00 00 f0 00 00
    [do apr  5 20:04:41 2018] print_req_error: I/O error, dev sdf, sector 5859711192
    [do apr  5 20:04:41 2018] Buffer I/O error on dev sdf1, logical block 732463643, lost async page write
    [do apr  5 20:04:41 2018] Buffer I/O error on dev sdf1, logical block 732463644, lost async page write
    [do apr  5 20:04:41 2018] Buffer I/O error on dev sdf1, logical block 732463645, lost async page write
    The size of the disk, also according to dmesg:

    Code:
    [do apr  5 20:05:05 2018] sd 10:0:0:0: Attached scsi generic sg6 type 0
    [do apr  5 20:05:05 2018] sd 10:0:0:0: [sdf] Very big device. Trying to use READ CAPACITY(16).
    [do apr  5 20:05:05 2018] sd 10:0:0:0: [sdf] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB)
    [
    so after 7 hours only 6% was formatted. So it would take some 112 hours to format the disk.

    Is this indeed normal?

    I started mkfs again, from the cli, and it is happily running for some 16 hours now.

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,777

    Default Re: gparted taking very long to create filesystem

    I tried to find more information about the 64bit option (switched off here by -O ^64bit, when that is indeed a typo), but it is not clear to me.

    Could it be that it should in fact be on with such a large file system?
    Henk van Velden

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,777

    Default Re: gparted taking very long to create filesystem

    Quote Originally Posted by jehojakim View Post
    The size of the disk, also according to dmesg:

    Code:
    [do apr  5 20:05:05 2018] sd 10:0:0:0: Attached scsi generic sg6 type 0
    [do apr  5 20:05:05 2018] sd 10:0:0:0: [sdf] Very big device. Trying to use READ CAPACITY(16).
    [do apr  5 20:05:05 2018] sd 10:0:0:0: [sdf] 11721045168 512-byte logical blocks: (6.00 TB/5.46 TiB)
    [
    so after 7 hours only 6% was formatted.
    Why do you think that about the 6%?
    Henk van Velden

  10. #10
    Join Date
    Jun 2008
    Location
    Akkrum, Netherlands
    Posts
    169

    Default Re: gparted taking very long to create filesystem

    Quote Originally Posted by hcvv View Post
    I tried to find more information about the 64bit option (switched off here by -O ^64bit, when that is indeed a typo), but it is not clear to me.

    Could it be that it should in fact be on with such a large file system?
    I don't know that either. It was what gparted issues, but I don't know why...

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •