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

Thread: Cannot create new partition (have trouble writing out superblocks)

  1. #1
    Join Date
    Oct 2012
    Beans
    874

    Cannot create new partition (have trouble writing out superblocks)

    Hi, I have a removable hard drive whose layout is shown in the screenshot. There are about 140 G of unallocated space on the right. I am trying to create an ext 4 partition of the rightmost 30G of that unallocated space with gparted and get the following error

    Code:
    create new ext4 file system  00:01:41    ( ERROR )
             
    mkfs.ext4 -j -O extent -L "test" /dev/sdb7
             
    Filesystem label=test
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    Stride=0 blocks, Stripe width=0 blocks
    2621440 inodes, 10479360 blocks
    523968 blocks (5.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=0
    320 block groups
    32768 blocks per group, 32768 fragments per group
    8192 inodes per group
    Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000, 7962624
    
    Allocating group tables: done
    Writing inode tables: done
    Creating journal (32768 blocks): done
    Writing superblocks and filesystem accounting information: 81/320
    mke2fs 1.42.5 (29-Jul-2012)
    
    Warning, had trouble writing out superblocks.
    I have created partitions on different parts of the 140G (now) unallocated space in the past without problems.However, trying to use the last 30Gs always failed. In fact before I cleaned up my clutters today I used to make /dev/sdb2 the extended partition to exclude the last 30G and everything was fine. I am wondering if that part of the hard drive is damaged and if there is a way to reclaim it.

    Thanks.
    Attached Images Attached Images

  2. #2
    Join Date
    Jun 2013
    Beans
    2

    Re: Cannot create new partition (have trouble writing out superblocks)

    I'm fairly new to Linux and GParted, but from the guides I've seen, you can't create a 4th partition.

  3. #3
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cannot create new partition (have trouble writing out superblocks)

    I have only used gparted to create partitions. But as long as you are creating a partition inside the extended partition as sdb7 you should be ok.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  4. #4
    Join Date
    Oct 2012
    Beans
    874

    Re: Cannot create new partition (have trouble writing out superblocks)

    Quote Originally Posted by oldfred View Post
    I have only used gparted to create partitions. But as long as you are creating a partition inside the extended partition as sdb7 you should be ok.
    Hi,

    It should be OK. but it is not working because of the "have trouble writing out superblocks" error. As I said this only happens if I try to create a partition using that last 30G or so, but I can do it elsewhere. I am wondering if that part of the hd (the last 30G) is damaged and if there is a way to check it or repair it,

    Thanks.

  5. #5
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Cannot create new partition (have trouble writing out superblocks)

    Try and see if gparted can create the partition without errors.
    boot_info_script | AMD64 Athlon X2 Dual-Core - nVidia Geforce 6150 SE - 4GB DDR3

  6. #6
    Join Date
    Oct 2012
    Beans
    874

    Re: Cannot create new partition (have trouble writing out superblocks)

    Quote Originally Posted by VMC View Post
    Try and see if gparted can create the partition without errors.
    Yeah I tried and it gave the errors I posted. That was the whole purpose of this thread.

  7. #7
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cannot create new partition (have trouble writing out superblocks)

    Then in Disk Utility or Disks, click on the drive. And what does it say about drive? It can show all the details of hard drive Smart Status. All I really know is green or passed is good.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  8. #8
    Join Date
    Feb 2008
    Beans
    60

    Re: Cannot create new partition (have trouble writing out superblocks)

    smartctl -test=short /dev/sda

    smartctl -a /dev/sda to look at tests

    smartctl -H /dev/sda check overall health of hard drive

    smartctl -l error /dev/sda will flag errors on hdd

    you might have to install " apt-get install smartmontools "
    Last edited by zrdc28; June 27th, 2013 at 05:03 AM. Reason: update

  9. #9
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,825
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Cannot create new partition (have trouble writing out superblocks)

    Those are helpful commands, but...
    Please check your syntax when posting terminal commands, including sudo when necessary, and per the Code of Conduct, place them in code tags:
    Code:
    sudo smartctl --test=short /dev/sda
    sudo smartctl -a /dev/sda
    sudo smartctl -H /dev/sda
    sudo smartctl -l error /dev/sda
    Jane, stop this crazy thing!

  10. #10
    Join Date
    Apr 2008
    Location
    Southern California, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Cannot create new partition (have trouble writing out superblocks)

    Quote Originally Posted by monkeybrain2012 View Post
    Yeah I tried and it gave the errors I posted. That was the whole purpose of this thread.
    OK. I thought you executed the command yourself. Then you might try the command using different options, "-c" will check for bad blocks before building the system. Also "-v" will use the verbose output. You might try using a different FS.























    ' will check
    boot_info_script | AMD64 Athlon X2 Dual-Core - nVidia Geforce 6150 SE - 4GB DDR3

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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