Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
daemon only version of current system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Tue Aug 07, 2007 1:34 pm    Post subject: daemon only version of current system Reply with quote

Hi,

I have a delicate problem. I have to repartition and again setup the system harddisk of some workstations. But these workstations also are file servers for all the other workstations.

What I came up with as solution for minimum donwtime is I reformat a spare swap space on another harddisc to contain an intermediate gentoo system. I reboot the machine into this system, which does all the file server work while I resetup the main system harddisc.

My problem is, the root directory (without any data or /home directory) contains approx. 6 GB of data and the swap space is only 2 GB.

What directories do I need at minimum to have a running system that provides nfs, samba, apache, ftp? Besides that I will need fdisk, mkreiserfs, tar, gunzip, ... So i will need (as I am on amd64)
/etc
/bin
/lib(32/64)
/sbin
/var/www

and what else?

Thanks in advance for any help,
fangorn
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Tue Aug 07, 2007 3:25 pm    Post subject: Reply with quote

Add another hdd to the box that is large enough to hold your necessary data while you reinstall. Or add a new hdd to reinstall too without touching your current data until you reboot to the new hdd/install
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Tue Aug 07, 2007 6:59 pm    Post subject: Reply with quote

Would be nice, but to install the hdd I would have to reboot one time more often than I intend to.

As I said, downtime is of major essence here. As long as the workstation is down, 10 people sit around doing nothing but earning money. :wink:
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
Dan
Veteran
Veteran


Joined: 25 Oct 2005
Posts: 1302

PostPosted: Wed Aug 08, 2007 1:13 pm    Post subject: Reply with quote

Don't be silly about a server in your office being down for 2 minutes. Which is how long it takes to shutdown,plug in a harddrive, and boot back up. You have wasted more company time than that , just thinking about what you are going to do to solve your issue.
_________________
- Failure is not an option. It's bundled with your software.
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Thu Aug 09, 2007 6:25 am    Post subject: Reply with quote

This applies to 10 boxes and for rebooting one of them the drives have to be unmounted, the machine has to be rebooted, the drives have to be mounted again. At last (forced) test this took over 15 minutes till everything worked again. I know. For a long time I stated we should have a SAN instead of this shared harddisk space. But all the time you hear "But it works for 20 years now". At least 2 reboots for 10 machines, plus on reboot to insert the spare disk ... you do the math.

I saw this as an interesting question. What is needed to get a basic system with just server daemons up and running. I just asked if somebody has tried this before, so I would not have to test it myself, not for somebody out there to fix my problem.
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum