LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-02-2006, 05:02 AM   #1
wincrk
Member
 
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104

Rep: Reputation: 15
improper shutdown eating up space


hi,

i've got samba server with 530GB hard disk. it acts as file server for both mac and windows. it does not have monitor or keyboard. after office hour, the electricity will be cut-off for the whole floor. several days ago, the way to shutdown this linux is by pressing the power button untill it goes off.

after three days, i've found that there some space lost without realising what i used it for? i shut it down and plugin a monitor. at booting process i found that the machine display improper shutdown and cleaning the hard disk space, could this be the reason? how do i regain the lost spcae?
 
Old 05-02-2006, 05:21 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
1st off all. why not just ssh to the box to administer it remotely.

secondly, if you know the power is going off, would it not be better to set the machine to power down via a cron job.

you probably just need to run "fsck" on your filesystem....
 
Old 05-02-2006, 11:06 PM   #3
wincrk
Member
 
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104

Original Poster
Rep: Reputation: 15
i am ssh to the box and administer it remotely. there is 2 problem for this, one: some superuser command does not work in ssh, second: i'm not always in office.

i could make it shutdown on specific time, but the design unit might used the server after office hour, and even during weekend.

i'll try to run fsck on my system today, thanks for the reply. anyway, if i were to do daiily shutdown via cron job, how do i accomplish it?
 
Old 05-03-2006, 03:32 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
just add shutdown -h now at an appropriate time in root's cron.

you probably want to invest in a UPS if this is the case.........
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Improper shutdown - dead slack :( Bagsis Linux - General 3 02-23-2006 07:46 PM
Improper Shutdown... errrr adubb Linux - General 3 01-30-2006 10:10 AM
where to find improper shutdown logs linylion Linux - General 4 09-07-2004 11:59 PM
recovering from improper shutdown: ext3 kngharv Linux - Newbie 2 06-11-2003 09:29 PM
HDD problem after improper shutdown... Azazel Linux - Newbie 2 01-19-2003 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration