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.

mount drive problem

Discussion in 'General Discussion' started by Zion Ahead, Aug 24, 2009.

  1. Zion Ahead

    Zion Ahead Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    I had to reload a server for a client due to the primary drive being corrupt. Secondary drive is untouched and *should* have backups on it.

    This is what I did to mount it without formatting it:

    fdisk -l

    mkdir /backup
    mount /dev/sdb3 /backup


    Code:
    Disk /dev/sda: 160.0 GB, 160000000000 bytes
    255 heads, 63 sectors/track, 19452 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         144     1052257+  82  Linux swap / Solaris
    /dev/sda3             145       19452   155091510   83  Linux
    
    Disk /dev/sdb: 80.0 GB, 80000000000 bytes
    255 heads, 63 sectors/track, 9726 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1          13      104391   83  Linux
    /dev/sdb2              14         144     1052257+  82  Linux swap / Solaris
    /dev/sdb3             145        9726    76967415   83  Linux
    
    However, its ending up replicating (even in real-time) the primary drive, sda3 which is odd. How I know its replicating it is because Cpanel is currently being installed on the primary. Every few minutes I refresh the d -h output and both sizes on sda and sdb update to exact usage size. I even went into /backup and it looks like the primary which is odd.

    Why would this happen?

    Code:
    mount /dev/sdb3 /backup
    [root@server092 home]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda3              72G  3.7G   64G   6% /
    /dev/sda1              99M   11M   83M  12% /boot
    tmpfs                 252M     0  252M   0% /dev/shm
    /usr/tmpDSK           485M   13M  447M   3% /tmp
    /dev/sdb3              72G  3.7G   64G   6% /backup
     
    #1 Zion Ahead, Aug 24, 2009
    Last edited: Aug 24, 2009
  2. Janak

    Janak Well-Known Member

    Joined:
    Jul 18, 2009
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    6
    I request you to paste the output of below command:

    Code:
    pico /etc/fstab
    Janak.
     
Loading...

Share This Page