Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

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

  1. #11
    Join Date
    Oct 2012
    Beans
    874

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

    Hi,

    Ran all these commands and the outputs are not very informative.

    Code:
    sudo smartctl --test=short /dev/sdb
    
    smartctl 5.43 2012-06-30 r3573 [i686-linux-3.9.6-030906-generic] (local build)
    Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
    
    Smartctl: Device Read Identity Failed: Unknown error
    
    A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
    bee@raring:~$ sudo smartctl -a /dev/sdb
    smartctl 5.43 2012-06-30 r3573 [i686-linux-3.9.6-030906-generic] (local build)
    Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
    
    Smartctl: Device Read Identity Failed: Unknown error
    
    A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
    bee@raring:~$ sudo smartctl -H /dev/sdb
    smartctl 5.43 2012-06-30 r3573 [i686-linux-3.9.6-030906-generic] (local build)
    Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
    
    Smartctl: Device Read Identity Failed: Unknown error
    
    A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
    bee@raring:~$ sudo smartctl -l error /dev/sdb
    smartctl 5.43 2012-06-30 r3573 [i686-linux-3.9.6-030906-generic] (local build)
    Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
    
    Smartctl: Device Read Identity Failed: Unknown error
    
    A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
    Are there other ways to find out? Thanks

  2. #12
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,784
    Distro
    Ubuntu 13.04 Raring Ringtail

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

    smartctl was unable to identify what kind of drive it is. You can probably feed it that information with the -d option, but then you need to know what to feed it. Please run
    Code:
    sudo lshw -C disk
    sudo lshw -C storage
    sudo parted -l
    for those details.
    Last edited by newb85; June 28th, 2013 at 11:08 AM.
    Jane, stop this crazy thing!

  3. #13
    Join Date
    Oct 2012
    Beans
    874

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

    Hi, here they are.

    Code:
    $ sudo lshw -C disk
    [sudo] password for monkeybrain: 
      
      *-disk
           description: SCSI Disk
           physical id: 0.0.0
           bus info: scsi@6:0.0.0
           logical name: /dev/sdb
           size: 298GiB (320GB)
           capabilities: partitioned partitioned:dos
           configuration: signature=0006b6bf
    
    monkeybrain@ubu1204:~$ sudo lshw -C storage
      *-storage               
           description: SATA controller
           product: 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode]
           vendor: Intel Corporation
           physical id: 1f.2
           bus info: pci@0000:00:1f.2
           version: 03
           width: 32 bits
           clock: 66MHz
           capabilities: storage msi pm ahci_1.0 bus_master cap_list
           configuration: driver=ahci latency=0
           resources: irq:45 ioport:18f0(size=8) ioport:18e4(size=4) ioport:18e8(size=8) ioport:18e0(size=4) ioport:18c0(size=32) memory:fc204000-fc2047ff
      *-scsi:0
           physical id: 2
           logical name: scsi0
           capabilities: emulated
      *-scsi:1
           physical id: 3
           logical name: scsi1
           capabilities: emulated
      *-scsi:2
           physical id: 5
           bus info: usb@2:3
           logical name: scsi6
           capabilities: emulated scsi-host
           configuration: driver=usb-storage
    
    
    monkeybrain@ubu1204:~$ sudo parted -l
    Model: ATA ST9250315AS (scsi)
    
    Model:  Mass Storage Device (scsi)
    Disk /dev/sdb: 320GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End     Size    Type      File system     Flags
     1      1049kB  21.5GB  21.5GB  primary   ext4            boot
     2      21.5GB  213GB   192GB   extended
     5      21.5GB  167GB   145GB   logical   ext4
     6      167GB   170GB   3222MB  logical   linux-swap(v1)
     7      170GB   186GB   16.2GB  logical   ext4
     8      186GB   213GB   26.8GB  logical   ext4
    I only show the parts for /dev/sdb to avoid to much clutterings. /dev/sda is the internal hard disk.

  4. #14
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,784
    Distro
    Ubuntu 13.04 Raring Ringtail

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

    It looks to me like the line
    Code:
    Model: ATA ST9250315AS (scsi)
    is an artifact from the sda listing, and your sdb is SCSI. I don't think parted would give two Model: entries. If that line is part of the sdb listing, the drive is an SCSI to ATA translation (SAT).

    This command should determine which it is and execute accordingly.

    Code:
    sudo smartctl --test=short -d sat,auto /dev/sdb
    Please post the results.
    Jane, stop this crazy thing!

Page 2 of 2 FirstFirst 12

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
  •