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.

URGENT! Slave drive help

Discussion in 'General Discussion' started by Ganga, May 26, 2004.

  1. Ganga

    Ganga Well-Known Member

    Joined:
    Oct 2, 2003
    Messages:
    105
    Likes Received:
    0
    Trophy Points:
    16
    I have just had my server restored and all the data of the old drive are now in a slave drive, /dev/hdb

    I need step by step instructions on how I can mount this drive ensuring that NOT A SINGLE BYTE of its data is lost.

    I would appreciate some urgent help, I really cannot afford any formatting of those data.

    Thanks
     
  2. GOT

    GOT Get Proactive!

    Joined:
    Apr 8, 2003
    Messages:
    900
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Norfolk, VA
    cPanel Access Level:
    DataCenter Provider
    cd /
    mkdir olddrive
    mount /dev/hdb1 /olddrive
     
  3. trackpads

    trackpads Active Member

    Joined:
    Jul 5, 2004
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    I just had the same thing happen, ie a new drive added with my old data. How do I find out where it is and then mount it?

    Thanks!
     
  4. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    18
    Type

    # fdisk -l

    Will list the partitions on the IDE devices.

    Then you just need to create say

    mkdir /oldhome
    mkdir /oldvar
    mkdir /oldusr
    mkdir /oldroot

    then mount them

    mount /dev/hdxx /oldroot
    mount /dev/hdxx /oldhome
    mount /dev/hdxx /oldvar
    mount /dev/hdxx /oldusr

    and copy the data from /oldx to where you need it.

    These are examples, your disks may vary with what you need.
     

Share This Page