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.

sda and sdb

Discussion in 'General Discussion' started by polkocholo, Mar 20, 2011.

  1. polkocholo

    polkocholo Active Member

    Joined:
    Nov 22, 2010
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    who can i connect sdb ( hdd 2 ) to cpanel and setting for daily backup?

    # fdisk -l

    Disk /dev/sda: 2000.3 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 1 240964 1935543298+ 83 Linux
    /dev/sda2 240965 243201 17968702+ 82 Linux swap / Solaris

    Disk /dev/sdb: 2000.3 GB, 2000398934016 bytes
    255 heads, 63 sectors/track, 243201 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Disk /dev/sdb doesn't contain a valid partition table
     
  2. MattLee

    MattLee BANNED

    Joined:
    Aug 26, 2009
    Messages:
    83
    Likes Received:
    0
    Trophy Points:
    0
    Hello,

    You should be able to do this through root WHM:
    Main >> Disk Drives >> Format/Mount a new Hard Drive
     
  3. polkocholo

    polkocholo Active Member

    Joined:
    Nov 22, 2010
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Thank you dear

    Main >> Disk Drives >> Format/Mount a new Hard Drive

    Sorry, I could not find any new disks.
     
  4. syslint

    syslint Well-Known Member

    Joined:
    Oct 9, 2006
    Messages:
    249
    Likes Received:
    6
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    you can use fdisk command to format the second hdd from shell . That will be easy .
     
  5. polkocholo

    polkocholo Active Member

    Joined:
    Nov 22, 2010
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Dear syslint

    fdisk

    Usage: fdisk [-l] [-b SSZ] [-u] device
    E.g.: fdisk /dev/hda (for the first IDE disk)
    or: fdisk /dev/sdc (for the third SCSI disk)
    or: fdisk /dev/eda (for the first PS/2 ESDI drive)
    or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
    ...
     
  6. polkocholo

    polkocholo Active Member

    Joined:
    Nov 22, 2010
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    can any body help me?
     
  7. ThinIce

    ThinIce Well-Known Member

    Joined:
    Apr 27, 2006
    Messages:
    346
    Likes Received:
    7
    Trophy Points:
    18
    Location:
    Disillusioned in England
    cPanel Access Level:
    Root Administrator
    the correct command (presuming you want to format your second hard disk, sdb) should be

    fdisk /dev/sdb

    You will then be presented with a menu (it has a help option) that will let you destroy any existing partitions and create a new one, you will then write the partition to the disk. Once this has been done you can format the partition with the file system of your choice.
     

Share This Page