Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2000
    Location
    localhost
    Posts
    3,510

    remounting onto another drive

    Hi folks,

    Here is our 'df' output for one of our servers it has 2 80gb Seagate high-performance IDE hard drives.

    [email protected] [~]# df
    Filesystem 1k-blocks Used Available Use% Mounted on
    /dev/hda3 74652128 14096188 56763800 20% /
    /dev/hda1 202220 8644 183136 5% /boot
    /dev/hdb1 76920416 6536844 66476164 9% /home2
    none 774272 0 774272 0% /dev/shm
    /home2 is mounted on the second hard drive. I want to move it to the first hard drive without changing any paths or causing any prolonged disruption, but unsure the best way to do it?. Once it has been moved to the first hard drive and can then clean the second hard drive, install a RAID card and setup mirroring.
    MattF - Since the start..

  2. #2
    Join Date
    Sep 2002
    Location
    LA, CA
    Posts
    51
    um check /etc/fstab or vstab. i believe your mount points will be there. it depends on what os u have. give more info.

  3. #3
    Join Date
    Nov 2000
    Location
    localhost
    Posts
    3,510
    ok kewl.

    but how does one move the directory to the first hard drive. using mv - you can specify paths but not hard drives.
    MattF - Since the start..

  4. #4
    Join Date
    Jul 2002
    Location
    The Big Easy -New Orleans
    Posts
    341
    unmount your second drive and remount it under a different mountpoint. the mv or cpio the files from there.
    Lagniappe Internet L.L.C. - Wholesale Reseller and VPS Hosting.
    Lagniappe (lan-yap) - An extra or unexpected gift or benefit.
    HostEntrepreneur - Hosting news, reviews, tips, tricks, help and the occassional rant

Posting Permissions

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