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.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-18-2006, 01:57 PM   #1
3M TA3
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

Last edited by 3M TA3; 03-18-2006 at 01:59 PM..
3M TA3 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2006, 02:27 PM   #2
fuzebox
making it rain
 
fuzebox's Avatar
 
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?)
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2006, 05:54 PM   #3
3M TA3
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
3M TA3 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2006, 06:23 PM   #4
High Plains Drifter
Confirmed User
 
High Plains Drifter's Avatar
 
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
__________________
High Plains Drifter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2006, 06:24 PM   #5
solkimaras
Registered User
 
Join Date: Mar 2006
Posts: 45
solkimaras is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2006, 07:08 PM   #6
woj
<&(©¿©)&>
 
woj's Avatar
 
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
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2006, 07:54 PM   #7
mayon
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
__________________

icq 250976254 | featuring High Def sites that convert!
mayon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2006, 08:16 PM   #8
mrkris
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.
__________________

PHP-MySQL-Rails | ICQ: 342500546
mrkris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2006, 09:14 PM   #9
Superterrorizer
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.
Superterrorizer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-18-2006, 11:41 PM   #10
3M TA3
Confirmed User
 
Join Date: Aug 2005
Location: So Cal
Posts: 2,972
Quote:
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
3M TA3 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.