Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

new drive problems

Discussion in 'General Discussion' started by kernow, May 16, 2006.

  1. kernow

    kernow Well-Known Member

    Jul 23, 2004
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I can't seem to get this right.
    Added new drive /dev/sdc then:
    #/sbin/fdisk /dev/sdc then i created a primary partition, then :
    # /sbin/mkfs.ext3 -m 0 -j /dev/sdc1
    then made a mount point and mounted it
    #mount /dev/sdc1 /hometwo
    works OK, but i get this error when i do; :
    fdisk -l /dev/sdc1

    Disk /dev/sdc1: 73.2 GB, 73270761984 bytes
    255 heads, 63 sectors/track, 8907 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/sdc1 doesn't contain a valid partition table
    So whats up here ?
  2. avijit

    avijit Well-Known Member

    Jul 26, 2004
    Likes Received:
    Trophy Points:
    After the partitioning/repartitioning a reboot is neeed before you can go on making file system in it.

    So as soon as you save the partition and come ot of fdisk , reboot the system to take effect
  3. Secret Agent

    Secret Agent Guest

    fdisk -l
    Disk /dev/sda: 299.9 GB, 299976622080 bytes
    255 heads, 63 sectors/track, 36470 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          13      104391   83  Linux
    /dev/sda2              14         535     4192965   82  Linux swap
    /dev/sda3             536       36470   288647887+  83  Linux
    Disk /dev/sdb: 146.6 GB, 146695782400 bytes
    255 heads, 63 sectors/track, 17834 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk /dev/sdb doesn't contain a valid partition table
    I'm getting the above when attempting to mount a secondary backup drive that has DATA on it, need to restore the backups from there.

    Anyone know a fix?

    mount -t ext3 /dev/sdb /backup
    mount: wrong fs type, bad option, bad superblock on /dev/sdb,
    or too many mounted file systems
  4. chirpy

    chirpy Well-Known Member

    Jun 15, 2002
    Likes Received:
    Trophy Points:
    Go on, have a guess
    Then you'll need to do a lot of searching on google as you have a corrupt file system. They can sometimes be recovered, but it's beyond the scope of these forums. A few hints: Run fsck and see if it's repairable. Try disabling the journal if inode 8 is the problem. Much beyond that you'll need someone who knows how to troubleshoot file system problems as you can easy end up wiping out recoverable data if you don't know what you're doing.

Share This Page