Is there a Linux admini in the house?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 3M TA3
    Confirmed User
    • Aug 2005
    • 2972

    #1

    Is there a Linux admini in the house?

    I have to unmount a hard drive and remount it in a new location. Someone want to help a brother out? Gotta get it done today.

    I ran a few commands from google and it tells me the device is busy. instead of pushing buttons randomly i figure i'd take words of advice from the wise
    Last edited by 3M TA3; 03-18-2006, 11:59 AM.

    Dedicated and colo hosting: ICQ 291313057

    "A problem cannot be solved from the same consciousness that created it. We must learn to see the world anew." - Albert Einstein
  • fuzebox
    making it rain
    • Oct 2003
    • 22363

    #2
    If you have "lsof" installed you can see what processes might be using files on that drive... Is it just an extra filesystem with your own data? (No tmp, var, log type directories on it?)

    Comment

    • 3M TA3
      Confirmed User
      • Aug 2005
      • 2972

      #3
      i am actually using it as a live web server right now. i need to shut it down for 5 minutes and make the change. i also need to make sure it auto-mounts after a reboot.

      my regular admin is out till monday and i want to get it done before people get back to work when they would notice any down time.

      because of the sensivity of it i was hoping to get someone who has experience in it.

      Dedicated and colo hosting: ICQ 291313057

      "A problem cannot be solved from the same consciousness that created it. We must learn to see the world anew." - Albert Einstein

      Comment

      • High Plains Drifter
        Confirmed User
        • Jun 2005
        • 2341

        #4
        If you're just trying to change the mount point, open up /etc/fstab, look for something like this, edit the second column to the new mountpoint, and reboot.

        /dev/hdb2 /home ext2 defaults 1 2

        Comment

        • solkimaras
          Registered User
          • Mar 2006
          • 45

          #5

          Comment

          • woj
            <&(©¿©)&>
            • Jul 2002
            • 47880

            #6
            it's as easy as:
            rm -rf /old/mount/point /new/mount/point



            .. (jk, don't run that!)
            Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
            Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
            Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

            Comment

            • mayon
              Confirmed User
              • Jul 2005
              • 196

              #7
              if you have files being openned on that location by apache then that makes it buzy. or youre on that location working via ssh.

              1. kill apache
              2. go to the root folder
              3. run df -h ( so you see the parttitions and mount points)
              4. unmount it.
              5. mount it to the new mount point
              6. start apache
              7. add it to /etc/fstab or just add add the mount command in /etc/rc.local

              icq 250976254 | featuring High Def sites that convert!

              Comment

              • mrkris
                Confirmed User
                • May 2005
                • 2737

                #8
                If you are shutting down, then just change the mount point in /etc/fstab and reboot.

                PHP-MySQL-Rails | ICQ: 342500546

                Comment

                • Superterrorizer
                  Confirmed User
                  • Sep 2003
                  • 509

                  #9
                  Don't be a fucking pussy, umount -f it and remount it where you want it. YOU tell the server what to do, don't let it fuck you around man, make it your bitch.

                  Comment

                  • 3M TA3
                    Confirmed User
                    • Aug 2005
                    • 2972

                    #10
                    Originally posted by Superterrorizer
                    Don't be a fucking pussy, umount -f it and remount it where you want it. YOU tell the server what to do, don't let it fuck you around man, make it your bitch.
                    sould i bitch slap it while i'm at it?

                    Dedicated and colo hosting: ICQ 291313057

                    "A problem cannot be solved from the same consciousness that created it. We must learn to see the world anew." - Albert Einstein

                    Comment

                    Working...