![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Aug 2005
Location: So Cal
Posts: 2,972
|
Is there a Linux admin 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 ![]()
__________________
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,100
|
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?)
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Aug 2005
Location: So Cal
Posts: 2,972
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Jun 2005
Location: ♠ ♣ ♥
Posts: 2,341
|
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
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Join Date: Mar 2006
Posts: 45
|
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Jul 2005
Posts: 196
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: May 2005
Posts: 2,737
|
If you are shutting down, then just change the mount point in /etc/fstab and reboot.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Sep 2003
Posts: 509
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Aug 2005
Location: So Cal
Posts: 2,972
|
Quote:
__________________
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |