LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-29-2008, 11:33 PM   #1
dd976
LQ Newbie
 
Registered: May 2008
Distribution: Xbuntu 8.04
Posts: 7

Rep: Reputation: 0
Question Bad superblock?


Edit: Sorry, I don't know how I broke text wrapping in this post.

Hello everyone! I just installed Xbuntu on a desktop I was given, and I'm having a disturbing issue. I have two 160GiB segate IDE hard drives installed, and the secondary one is giving me a Bad magic number error whenever I start my computer. I had initially formatted it with NTFS in windows, then formatted it to ext3 with GParted. This is the error I get:

Code:
Log of fsck -C3 -R -A -a 
Sun Jun 29 21:41:41 2008

fsck 1.40.8 (13-Mar-2008)
fsck.ext3: Bad magic number in super-block while trying to open /dev/sdb

/dev/sdb: 
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

fsck died with exit status 8

Sun Jun 29 21:41:41 2008
----------------
It then brings up a repair terminal that I have no idea how to use. I get another error (with a big red [FAIL] beside it) after hitting ctrl+d to exit the terminal, but it scrolls too fast for me to see it. I followed the directions in the log, and got this:

Code:
david@david-xbuntu:~$ e2fsck -b 8193 sdb1
e2fsck 1.40.8 (13-Mar-2008)
e2fsck: No such file or directory while trying to open sdb1

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
I have tried deleting the partition and reformatting the hard drive with GParted, as well as unmounting and repairing it too, but no luck.
If anyone can help me out with this, I'd really appreciate it. I've posted all the info below that I found in similar posts. Thanks!


Distro and kernel: Xbuntu 8.04, kernel 2.6.24-19-generic

fdisk -l
Code:
david@david-xbuntu:~$ sudo fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd99def38

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       19293   154970991   83  Linux
/dev/sda2           19294       19457     1317330    5  Extended
/dev/sda5           19294       19457     1317298+  82  Linux swap / Solaris

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd99cbb6d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       19457   156288321   83  Linux
df -h
Code:
david@david-xbuntu:~$ sudo df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             147G  2.0G  138G   2% /
varrun                220M  104K  220M   1% /var/run
varlock               220M     0  220M   0% /var/lock
udev                  220M   52K  220M   1% /dev
devshm                220M     0  220M   0% /dev/shm
lrm                   220M   38M  183M  17% /lib/modules/2.6.24-19-generic/volatile
/dev/sdb1             148G  188M  141G   1% /mnt/hd2
david@david-xbuntu:~$
lspci
Code:
david@david-xbuntu:~$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 02)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
00:09.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC (rev 01)
00:0a.0 Modem: Motorola SM56 Data Fax Modem (rev 04)
00:0b.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
david@david-xbuntu:~$
lshw
Code:
david@david-xbuntu:~$ sudo lshw
david-xbuntu              
    description: Desktop Computer
    product: PX790AA-ABA SR1511NX NA530
    vendor: Compaq Presario 061
    version: 0nx1411RE101SALMO00
    serial: CNH5220TS3
    width: 32 bits
    capabilities: smbios-2.4 dmi-2.4 smp-1.4 smp
    configuration: boot=normal chassis=desktop cpus=1 uuid=0B000000-0000-0000-0000-000B000B0000
  *-core
       description: Motherboard
       product: Salmon
       vendor: ASUSTek Computer INC.
       physical id: 0
       version: 1.04
       serial: MB-1234567890
     *-firmware
          description: BIOS
          vendor: Phoenix Technologies, LTD
          physical id: 0
          version: 3.12 (04/20/2005)
          size: 128KiB
          capacity: 448KiB
          capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp ls120boot zipboot biosbootspecification netboot
     *-cpu
          description: CPU
          product: AMD Sempron(tm) Processor 3100+
          vendor: Advanced Micro Devices [AMD]
          physical id: 4
          bus info: cpu@0
          version: 15.12.0
          slot: Socket 754
          size: 1800MHz
          capacity: 3700MHz
          width: 64 bits
          clock: 200MHz
          capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext x86-64 3dnowext 3dnow up ts fid vid ttp
        *-cache:0
             description: L1 cache
             physical id: 8
             slot: L1 Cache
             size: 128KiB
             capacity: 128KiB
             capabilities: synchronous internal write-back data
        *-cache:1
             description: L2 cache
             physical id: 9
             slot: L2 Cache
             size: 256KiB
             capacity: 256KiB
             capabilities: synchronous internal write-back unified
     *-memory
          description: System Memory
          physical id: 21
          slot: System board or motherboard
          size: 512MiB
          capacity: 2GiB
        *-bank:0
             description: DIMM DDR 400 MHz (2.5 ns)
             product: None
             vendor: None
             physical id: 0
             serial: None
             slot: A0
             size: 512MiB
             width: 64 bits
             clock: 400MHz (2.5ns)
        *-bank:1
             description: DIMM [empty]
             product: None
             vendor: None
             physical id: 1
             serial: None
             slot: A1
             width: 64 bits
     *-pci:0
          description: Host bridge
          product: 760/M760 Host
          vendor: Silicon Integrated Systems [SiS]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 02
          width: 32 bits
          clock: 33MHz
          configuration: driver=agpgart-sis latency=32 module=sis_agp
        *-pci
             description: PCI bridge
             product: SG86C202
             vendor: Silicon Integrated Systems [SiS]
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: pci normal_decode bus_master
           *-display UNCLAIMED
                description: VGA compatible controller
                product: 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
                vendor: Silicon Integrated Systems [SiS]
                physical id: 0
                bus info: pci@0000:01:00.0
                version: 00
                width: 32 bits
                clock: 66MHz
                capabilities: pm agp agp-3.0 vga_controller cap_list
                configuration: latency=0
        *-isa
             description: ISA bridge
             product: SiS964 [MuTIOL Media IO]
             vendor: Silicon Integrated Systems [SiS]
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 36
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-ide
             description: IDE interface
             product: 5513 [IDE]
             vendor: Silicon Integrated Systems [SiS]
             physical id: 2.5
             bus info: pci@0000:00:02.5
             logical name: scsi0
             logical name: scsi1
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master emulated
             configuration: driver=pata_sis latency=128 module=pata_sis
           *-disk:0
                description: ATA Disk
                product: ST3160815A
                vendor: Seagate
                physical id: 0
                bus info: scsi@0:0.0.0
                logical name: /dev/sda
                version: 3.AA
                serial: 9RA4JPMJ
                size: 149GiB (160GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 signature=d99def38
              *-volume:0
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 1
                   bus info: scsi@0:0.0.0,1
                   logical name: /dev/sda1
                   logical name: /
                   logical name: /dev/.static/dev
                   version: 1.0
                   serial: c25c4a49-eccf-4385-9cf4-b3b68bca4fb6
                   size: 147GiB
                   capacity: 147GiB
                   capabilities: primary bootable journaled extended_attributes large_files huge_files recover ext3 ext2 initialized
                   configuration: created=2008-06-27 23:32:40 filesystem=ext3 modified=2008-06-29 21:41:41 mount.fstype=ext3 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2008-06-29 21:41:41 state=mounted
              *-volume:1
                   description: Extended partition
                   physical id: 2
                   bus info: scsi@0:0.0.0,2
                   size: 1286MiB
                   capacity: 1286MiB
                   capabilities: primary extended partitioned partitioned:extended
                 *-logicalvolume
                      description: Linux swap / Solaris partition
                      physical id: 5
                      logical name: /dev/sda5
                      capacity: 1286MiB
                      capabilities: nofs
           *-disk:1
                description: ATA Disk
                product: ST3160815A
                vendor: Seagate
                physical id: 0.1.0
                bus info: scsi@0:0.1.0
                logical name: /dev/sdb
                version: 3.AA
                serial: 9RA4JNDB
                size: 149GiB (160GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 signature=d99cbb6d
              *-volume
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 1
                   bus info: scsi@0:0.1.0,1
                   logical name: /dev/sdb1
                   logical name: /mnt/hd2
                   version: 1.0
                   serial: 2c82e16b-9d55-4cd3-8582-25b1ee056a17
                   size: 149GiB
                   capacity: 149GiB
                   capabilities: primary journaled extended_attributes large_files huge_files recover ext3 ext2 initialized
                   configuration: created=2008-06-29 21:25:54 filesystem=ext3 modified=2008-06-29 22:04:21 mount.fstype=ext3 mount.options=rw,relatime,data=ordered mounted=2008-06-29 22:04:21 state=mounted
           *-cdrom
                description: DVD writer
                product: CD/DVDW TS-H552B
                vendor: TSSTcorp
                physical id: 1
                bus info: scsi@1:0.0.0
                logical name: /dev/cdrom
                logical name: /dev/dvd
                logical name: /dev/scd0
                logical name: /dev/sr0
                version: HP08
                capabilities: removable audio cd-r cd-rw dvd dvd-r
                configuration: ansiversion=5 status=open
        *-multimedia
             description: Multimedia audio controller
             product: AC'97 Sound Controller
             vendor: Silicon Integrated Systems [SiS]
             physical id: 2.7
             bus info: pci@0000:00:02.7
             version: a0
             width: 32 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list
             configuration: driver=Intel ICH latency=32 maxlatency=11 mingnt=52 module=snd_intel8x0
        *-usb:0
             description: USB Controller
             product: USB 1.1 Controller
             vendor: Silicon Integrated Systems [SiS]
             physical id: 3
             bus info: pci@0000:00:03.0
             version: 0f
             width: 32 bits
             clock: 33MHz
             capabilities: ohci bus_master
             configuration: driver=ohci_hcd latency=64 maxlatency=80 module=ohci_hcd
        *-usb:1
             description: USB Controller
             product: USB 1.1 Controller
             vendor: Silicon Integrated Systems [SiS]
             physical id: 3.1
             bus info: pci@0000:00:03.1
             version: 0f
             width: 32 bits
             clock: 33MHz
             capabilities: ohci bus_master
             configuration: driver=ohci_hcd latency=64 maxlatency=80 module=ohci_hcd
        *-usb:2
             description: USB Controller
             product: USB 1.1 Controller
             vendor: Silicon Integrated Systems [SiS]
             physical id: 3.2
             bus info: pci@0000:00:03.2
             version: 0f
             width: 32 bits
             clock: 33MHz
             capabilities: ohci bus_master
             configuration: driver=ohci_hcd latency=64 maxlatency=80 module=ohci_hcd
        *-usb:3
             description: USB Controller
             product: USB 2.0 Controller
             vendor: Silicon Integrated Systems [SiS]
             physical id: 3.3
             bus info: pci@0000:00:03.3
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pm ehci bus_master cap_list
             configuration: driver=ehci_hcd latency=32 maxlatency=80 module=ehci_hcd
        *-network:0
             description: Ethernet interface
             product: SiS900 PCI Fast Ethernet
             vendor: Silicon Integrated Systems [SiS]
             physical id: 4
             bus info: pci@0000:00:04.0
             logical name: eth0
             version: 90
             serial: 00:13:d4:0e:8f:10
             size: 10MB/s
             capacity: 100MB/s
             width: 32 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
             configuration: autonegotiation=on broadcast=yes driver=sis900 driverversion=v1.08.10 Apr. 2 2006 duplex=half latency=32 link=no maxlatency=11 mingnt=52 module=sis900 multicast=yes port=MII speed=10MB/s
        *-network:1
             description: Wireless interface
             product: AR2413 802.11bg NIC
             vendor: Atheros Communications Inc.
             physical id: 9
             bus info: pci@0000:00:09.0
             logical name: wifi0
             version: 01
             serial: 00:15:e9:f8:12:71
             width: 32 bits
             clock: 33MHz
             capabilities: pm bus_master cap_list logical ethernet physical wireless
             configuration: broadcast=yes driver=ath_pci ip=192.168.1.107 latency=168 maxlatency=28 mingnt=10 module=ath_pci multicast=yes wireless=IEEE 802.11g
        *-communication
             description: Modem
             product: SM56 Data Fax Modem
             vendor: Motorola
             physical id: a
             bus info: pci@0000:00:0a.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: pm generic bus_master cap_list
             configuration: driver=serial latency=32 maxlatency=62 mingnt=1
        *-firewire
             description: FireWire (IEEE 1394)
             product: IEEE 1394 Host Controller
             vendor: VIA Technologies, Inc.
             physical id: b
             bus info: pci@0000:00:0b.0
             version: 80
             width: 32 bits
             clock: 33MHz
             capabilities: pm ohci bus_master cap_list
             configuration: driver=ohci1394 latency=32 maxlatency=32 module=ohci1394
     *-pci:1
          description: Host bridge
          product: K8 [Athlon64/Opteron] HyperTransport Technology Configuration
          vendor: Advanced Micro Devices [AMD]
          physical id: 101
          bus info: pci@0000:00:18.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: K8 [Athlon64/Opteron] Address Map
          vendor: Advanced Micro Devices [AMD]
          physical id: 102
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: K8 [Athlon64/Opteron] DRAM Controller
          vendor: Advanced Micro Devices [AMD]
          physical id: 103
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: K8 [Athlon64/Opteron] Miscellaneous Control
          vendor: Advanced Micro Devices [AMD]
          physical id: 104
          bus info: pci@0000:00:18.3
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: driver=k8temp module=k8temp

Last edited by dd976; 06-29-2008 at 11:35 PM. Reason: Gah, there's no text wrapping...
 
Old 06-30-2008, 12:10 AM   #2
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
Anything important on the partition?
If not, make a new one with fdisk and do mkfs.ext3.
I had issues with gparted in the past, haven't used it since then.
 
Old 06-30-2008, 02:00 PM   #3
philipgeiger
LQ Newbie
 
Registered: Dec 2007
Location: outside of phila. pa
Distribution: thinking about suse . Am trying to rescue some older boxes that I have
Posts: 13

Rep: Reputation: 0
FOUND IT ODD THAT IDE DRIVES ID'ED AS SCSI. shouldn't it be hda... for drive 1 etc?
 
Old 06-30-2008, 02:24 PM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
philipgeiger: it is probably SATA

dd976: how about checking again with what was suggested in the error-message, using an alternate superblock

e2fsck -b 8193 <device>

You could use dd to get the contents off the disc and into an image - if you have room to spare for that on another disk.
Then mount the image and copy your files back - after you fixed the disk by doing what r00tb33r said.
 
Old 06-30-2008, 04:45 PM   #5
dd976
LQ Newbie
 
Registered: May 2008
Distribution: Xbuntu 8.04
Posts: 7

Original Poster
Rep: Reputation: 0
I'll give the superblock thing another go after work tonight, but I tried the fdisk and mkfs.ext3 method already, and am still getting the same error.

Also, my drives are IDE, and I don't have a single SATA drive. Is that odd? Most of the walktrhoughs I've seen concerning this kind of issue lable the hard drives as hd*. Is the fact that they're showing up as SCSI part of the problem?

Finally, I did an e2fsck -c -c -v to see if I could find corruption, and this is what came up:

Code:
david@david-xbuntu:~$ sudo e2fsck -c -c -v /dev/sdb1
[sudo] password for david: 
e2fsck 1.40.8 (13-Mar-2008)
Checking for bad blocks (non-destructive read-write test)
Testing with random pattern: done                                
/dev/sdb1: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/sdb1: ***** FILE SYSTEM WAS MODIFIED *****

      11 inodes used (0.00%)
       1 non-contiguous inode (9.1%)
         # of inodes with ind/dind/tind blocks: 0/0/0
  355977 blocks used (0.91%)
       0 bad blocks
       1 large file

       0 regular files
       2 directories
       0 character device files
       0 block device files
       0 fifos
       0 links
       0 symbolic links (0 fast symbolic links)
       0 sockets
--------
       2 files
 
Old 06-30-2008, 04:58 PM   #6
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
Quote:
Originally Posted by dd976 View Post
Code:
        *-ide
             description: IDE interface
             product: 5513 [IDE]
             vendor: Silicon Integrated Systems [SiS]
             physical id: 2.5
             bus info: pci@0000:00:02.5
             logical name: scsi0
             logical name: scsi1
             version: 01
             width: 32 bits
             clock: 33MHz
             capabilities: ide bus_master emulated
             configuration: driver=pata_sis latency=128 module=pata_sis
           *-disk:0
                description: ATA Disk
                product: ST3160815A
                vendor: Seagate
                physical id: 0
                bus info: scsi@0:0.0.0
                logical name: /dev/sda
                version: 3.AA
                serial: 9RA4JPMJ
                size: 149GiB (160GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 signature=d99def38
              *-volume:0
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 1
                   bus info: scsi@0:0.0.0,1
                   logical name: /dev/sda1
                   logical name: /
                   logical name: /dev/.static/dev
                   version: 1.0
                   serial: c25c4a49-eccf-4385-9cf4-b3b68bca4fb6
                   size: 147GiB
                   capacity: 147GiB
                   capabilities: primary bootable journaled extended_attributes large_files huge_files recover ext3 ext2 initialized
                   configuration: created=2008-06-27 23:32:40 filesystem=ext3 modified=2008-06-29 21:41:41 mount.fstype=ext3 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2008-06-29 21:41:41 state=mounted
              *-volume:1
                   description: Extended partition
                   physical id: 2
                   bus info: scsi@0:0.0.0,2
                   size: 1286MiB
                   capacity: 1286MiB
                   capabilities: primary extended partitioned partitioned:extended
                 *-logicalvolume
                      description: Linux swap / Solaris partition
                      physical id: 5
                      logical name: /dev/sda5
                      capacity: 1286MiB
                      capabilities: nofs
           *-disk:1
                description: ATA Disk
                product: ST3160815A
                vendor: Seagate
                physical id: 0.1.0
                bus info: scsi@0:0.1.0
                logical name: /dev/sdb
                version: 3.AA
                serial: 9RA4JNDB
                size: 149GiB (160GB)
                capabilities: partitioned partitioned:dos
                configuration: ansiversion=5 signature=d99cbb6d
              *-volume
                   description: EXT3 volume
                   vendor: Linux
                   physical id: 1
                   bus info: scsi@0:0.1.0,1
                   logical name: /dev/sdb1
                   logical name: /mnt/hd2
                   version: 1.0
                   serial: 2c82e16b-9d55-4cd3-8582-25b1ee056a17
                   size: 149GiB
                   capacity: 149GiB
                   capabilities: primary journaled extended_attributes large_files huge_files recover ext3 ext2 initialized
                   configuration: created=2008-06-29 21:25:54 filesystem=ext3 modified=2008-06-29 22:04:21 mount.fstype=ext3 mount.options=rw,relatime,data=ordered mounted=2008-06-29 22:04:21 state=mounted
Well... That is kind of odd. It's been ages since I've encountered a SiS chipset...
The symptoms are interesting indeed. You didn't specify what output mkfs gave you. I assume that fdisk works fine deleting/creating partition boundaries.
 
Old 06-30-2008, 09:04 PM   #7
dd976
LQ Newbie
 
Registered: May 2008
Distribution: Xbuntu 8.04
Posts: 7

Original Poster
Rep: Reputation: 0
jomen: Alright, just got home, and tried the e2fsck command:

Code:
david@david-xbuntu:~$ sudo e2fsck -b 8193 /dev/sdb
[sudo] password for david: 
e2fsck 1.40.8 (13-Mar-2008)
e2fsck: Device or resource busy while trying to open /dev/sdb
Filesystem mounted or opened exclusively by another program?
david@david-xbuntu:~$ sudo e2fsck -b 8193 /dev/sdb1
e2fsck 1.40.8 (13-Mar-2008)
e2fsck: Device or resource busy while trying to open /dev/sdb1
Filesystem mounted or opened exclusively by another program?
followed by:
Code:
david@david-xbuntu:~$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             147G  2.0G  138G   2% /
varrun                220M  100K  220M   1% /var/run
varlock               220M     0  220M   0% /var/lock
udev                  220M   56K  220M   1% /dev
devshm                220M     0  220M   0% /dev/shm
lrm                   220M   38M  183M  17% /lib/modules/2.6.24-19-generic/volatile
david@david-xbuntu:~$
So the partition isn't even mounted, but it's still coming up busy. I'm at a loss on this one...

r00tb33r: Actually, there was one error; after fdisk I got a popup in the gui:

Quote:
Failed to mount "160G Volume".

org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result).
Heh, and ya, this is a really old compaq (sr1511nx) that I'm getting for between $200 and nothing. I even have a trackball mouse for it XD. Not surprised it's not very common, but it should hold my library of mp3s, pdfs, ect. I can store stuff I don't want on my less secure windows box, and generally get to learn linux. I know I have a long, long way to go.

Last edited by dd976; 06-30-2008 at 09:06 PM.
 
Old 06-30-2008, 09:21 PM   #8
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
If that last sentence means that there is nothing on the disk I'd take that out of /etc/fstab - so it does not get (tried to) mounted next time you boot.
Then I'd try the checking again - or even do not bother but making a new filesystem right away - and do a read/write test on it.

I cannot explain however that IDE-disks are showing up as with names wich only SATA/SCSI should have...

If you need to copy data, but still cannot mount the disk - use dd and see if you can read it off the resulting image.
 
Old 06-30-2008, 09:30 PM   #9
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
Quote:
Originally Posted by dd976 View Post
Failed to mount "160G Volume".

org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result).
Has nothing to do with fdisk. Get out of that gui.
 
Old 06-30-2008, 11:04 PM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

You should perform any maintenance on your drives as a 'single' user. You can either boot a livecd or pass the 'single' parameter to your kernel at boot. Then you can safely perform your disk maintenance.
 
Old 07-02-2008, 11:38 PM   #11
dd976
LQ Newbie
 
Registered: May 2008
Distribution: Xbuntu 8.04
Posts: 7

Original Poster
Rep: Reputation: 0
Alright, I think in the end it was a bad hd. I swapped it today for another one, and after setting everything up with the live cd, it works great. Thanks for all the help everyone, this was a great learning experience for me! One last question though: this is correct syntax for fstab to get this partition to check and mount on boot, right?
Code:
/dev/sdb1 /media/hd2 ext3 defaults 0 2
Thanks again everyone!
 
Old 07-03-2008, 03:29 AM   #12
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
Yes this is correct - though I would not use /media as a mount point.
That is used by things like hal/udev to attach devices automatically as they are plugged in.
/mnt/hd2 - or any other place - would be better IMO.

See man tune2fs - the "-i" or "-c" options too.
The defaults are quite low (30?) - after that many mounts/that time a check will be forced no matter what.

ps: could you please make sure that while you copy/paste like above you do not paste a lot of spaces along with the words you wanted - that makes the line very long and the whole post difficult to read, because you have to scroll horizontally...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 08:55 AM
Bad mount of .mdf - "wrong fs type, bad option, bad superblock, on /dev/loop0" Maybe-not Linux - General 2 02-29-2008 01:30 PM
mount: wrong fs type, bad option, bad superblock on /dev/sda1 yekim Linux - Hardware 10 07-05-2007 11:28 AM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 05:50 PM
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 pmoreira Linux - Hardware 5 02-26-2004 10:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration