Results 1 to 10 of 10
  1. #1

    Format/Mount a new Hard Drive

    Hello

    I need to setup hard disk 2 for backup
    when i inter "Format/Mount a new Hard Drive" from Main >> Disk Drives >> Format/Mount a new Hard Drive display this error:
    Sorry, I could not find any new disks.

    PHP Code:
    fdisk -

    Disk 
    /dev/sda2000.3 GB2000398934016 bytes 
    255 heads
    63 sectors/track243201 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/sdb2000.3 GB2000398934016 bytes 
    255 heads
    63 sectors/track243201 cylinders 
    Units 
    cylinders of 16065 512 8225280 bytes 

    Disk 
    /dev/sdb doesnt contain a valid partition table 
    PHP Code:
    fdisk /dev/sdb 
    Device contains neither a valid DOS partition table
    nor SunSGI or OSF disklab                                                                             el 
    Building a 
    new DOS disklabelChanges will remain in memory only
    until you decide to write themAfter thatof coursethe previous 
    content wont be recoverable



    The number of cylinders for this disk is set to 243201. 
    There is nothing wrong with that
    but this is larger than 1024
    and 
    could in certain setups cause problems with
    1software that runs at boot time (e.g., old versions of LILO
    2booting and partitioning software from other OSs 
       
    (e.g., DOS FDISKOS/2 FDISK
    Warninginvalid flag 0x0000 of partition table 4 will be corrected by w(rite

    Command (for help): 

    please help me

    Thank you!

  2. #2
    Steps:

    1. Create a primary partition on /dev/sdb
    2. Then format it with mkfs.ext[3|2|4]

    If you need to know exact steps, let me know.
    Last edited by petergrg; 03-25-2011 at 12:58 PM.

  3. #3
    Can you please Explain more?


    Thank you!

  4. #4
    Join Date
    Sep 2005
    Location
    Albany, NY
    Posts
    3,795
    This should give you step by step:

    http://www.idevelopment.info/data/Un...ive_ext3.shtml
    AYKsolutions.com - High Bandwidth Specialists - 100TB/1Gbps/10Gbps Unmetered/CDN/DDOS Protected
    Over 20 Global Locations - Asia, Mexico, Brazil, India, Australia, US, CA, EU - Bare Metal and Virtual Cloud. All Managed.
    View our current Specials.
    We are Professional. Painless. Polite.

  5. #5
    in step Create ext3 File System
    when i inter mkfs.ext3 -b 4096 /dev/sdb display this:

    [email protected] [~]# mkfs.ext3 -b 4096 /dev/sdb
    mke2fs 1.39 (29-May-2006)
    /dev/sdb is entire device, not just one partition!
    Proceed anyway? (y,n)



    can you please help me?

  6. #6
    You need to create partition first in your /dev/sdb.

  7. #7
    Join Date
    Jul 2007
    Posts
    2,050
    Create Partition Table in the new hard drive

    Type the following command

    fdisk /dev/sdb

    Enter n to create a new partition

    Enter 1 to select partition

    then let it cover the entire disk, simply accept default start & end.

    Type w to write and exit.

    Assign File system to the hard drive

    mkfs.ext3 /dev/sdb

    Add the hard drive in the fstb

    vi /etc/fstab

    /dev/sdb /backup ext3 defaults 1 1

    mount the hard drive

    mount /dev/sdb /backup

    In the end give the command

    mount -a
    Prashant T.

    Don't run after Success. Run after Excellence and Success will soon follow.

  8. #8
    Thank you all friend
    Is it true now?

    df
    Filesystem 1K-blocks Used Available Use% Mounted on
    rootfs 1920293828 157981256 1665535408 9% /
    /dev/root 1920293828 157981256 1665535408 9% /
    /dev 4095884 96 4095788 1% /dev
    none 4095884 0 4095884 0% /dev/shm
    /dev/loop0 3937068 221392 3515676 6% /tmp
    /dev/loop0 3937068 221392 3515676 6% /var/tmp
    /dev/sdb 1922860936 200164 1824985044 1% /root/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

  9. #9
    can any body help me?

  10. #10
    Join Date
    Jul 2010
    Location
    India
    Posts
    92
    Pooyan, I found a mistake on the previous post with which you were trying.

    Once you are done with partitioning a drive, it should be formatted as /dev/sdb1.

    Like this one,
    Partitioning sdb would create sdb1. You need to format sdb1 on ext3 file system, then mount it on fstab instead of sdb.

    Simply sdb wouldn't mean it anything.
    Where there is a will, there is a Linux Distribution...

Similar Threads

  1. How to mount a Hard Drive ?
    By M Nour in forum Dedicated Server
    Replies: 3
    Last Post: 12-03-2010, 06:17 PM
  2. Mount second hard drive in CentOS 5.x
    By ALEXEI_M in forum Hosting Software and Control Panels
    Replies: 3
    Last Post: 12-01-2010, 04:18 AM
  3. How to mount a hard drive over a network?
    By mouseattack in forum Hosting Security and Technology
    Replies: 5
    Last Post: 07-06-2006, 01:10 AM
  4. format/mount 2nd hard drive problems
    By Jeremy in forum Hosting Security and Technology
    Replies: 5
    Last Post: 03-07-2006, 06:05 AM
  5. How do I mount the second hard drive?
    By pmak0 in forum Hosting Security and Technology
    Replies: 1
    Last Post: 02-13-2002, 03:33 PM

Posting Permissions

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