Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
checking a mounted reiserfs filesystem.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
magnet
Guru
Guru


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Fri Oct 17, 2003 7:50 am    Post subject: checking a mounted reiserfs filesystem. Reply with quote

hello.

I have a webserver running, and wish to do some checks on /home ( my users partition ) which is hda4.infortunatly it's on a hosted server and I cannot just unmount the filesystem( users would kill me ! ).is there a way I can use reiserfsck --check without unmounting it ? I don t need to correct errors , just to have a report if something goes wrong.

thanks for your help.
_________________
every step aim at glory.
Back to top
View user's profile Send private message
deepthought
Guru
Guru


Joined: 04 Apr 2003
Posts: 321
Location: icbm://5131''N:0710''E

PostPosted: Fri Oct 17, 2003 11:27 am    Post subject: Reply with quote

No. Running fsck.whatever on a mounted filesystem is considered EXTREMELY DANGEROUS (that's how the docs call it). Don't even think about it. Trust me. I tried. Kickban the users for fifteen minutes, and do your job.

Regards,
Alexander
_________________
Out of loyalty to its disregarded comrades, this message feels free to ignore the reader.
Registered Linux User #317705
Back to top
View user's profile Send private message
magnet
Guru
Guru


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Fri Oct 17, 2003 11:46 am    Post subject: Reply with quote

ok,thanks for your advise.
let's kick them ! 8)
_________________
every step aim at glory.
Back to top
View user's profile Send private message
professorn
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 235
Location: Stockholm, Sweden

PostPosted: Fri Oct 17, 2003 1:29 pm    Post subject: Reply with quote

I would like to do the same think but I have it on my workstation but can't kill X, if i press CTRL-ALT-BACKASPACE it just resatrts and GDM start :-/
Back to top
View user's profile Send private message
magnet
Guru
Guru


Joined: 16 Mar 2003
Posts: 582
Location: france

PostPosted: Fri Oct 17, 2003 1:33 pm    Post subject: Reply with quote

you should stop/kill gdm before quitting X.
/etc/init.d/gdm stop or killall gdm should be ok.
( I don't remenber if gdm has a init script ).
_________________
every step aim at glory.
Back to top
View user's profile Send private message
deepthought
Guru
Guru


Joined: 04 Apr 2003
Posts: 321
Location: icbm://5131''N:0710''E

PostPosted: Fri Oct 17, 2003 1:38 pm    Post subject: Reply with quote

Code:
# /etc/init.d/xdm stop

But then, you could also
Code:
# reboot

Of course, you'll have to be root to do this.

Regards,
Alexander
_________________
Out of loyalty to its disregarded comrades, this message feels free to ignore the reader.
Registered Linux User #317705
Back to top
View user's profile Send private message
professorn
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 235
Location: Stockholm, Sweden

PostPosted: Fri Oct 17, 2003 2:38 pm    Post subject: Reply with quote

Thx, but I don't see why a reboot would help me? GDM autostarts, so I think i kil gdm first.

Is fsck an internel/external command? Coz i want to check my main filesystem, wich contain /urs/ etc.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Fri Oct 17, 2003 3:31 pm    Post subject: Reply with quote

professorn wrote:
Thx, but I don't see why a reboot would help me? GDM autostarts, so I think i kil gdm first.

Is fsck an internel/external command? Coz i want to check my main filesystem, wich contain /urs/ etc.


Before rebooting,
Code:

rc-update del gdm default

_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
MrPyro
Tux's lil' helper
Tux's lil' helper


Joined: 14 Aug 2003
Posts: 121
Location: Sheffield, England

PostPosted: Fri Oct 17, 2003 3:36 pm    Post subject: Reply with quote

Even better

Code:
shutdown -rF now


reboots the system, and forces a file system check as it reboots
_________________
Back off man, I'm a computer scientist
Back to top
View user's profile Send private message
professorn
Apprentice
Apprentice


Joined: 18 Sep 2003
Posts: 235
Location: Stockholm, Sweden

PostPosted: Fri Oct 17, 2003 3:56 pm    Post subject: Reply with quote

A big THX :D

But humm, htat mean i gonna loose my uptime, NOO ;)
Back to top
View user's profile Send private message
deepthought
Guru
Guru


Joined: 04 Apr 2003
Posts: 321
Location: icbm://5131''N:0710''E

PostPosted: Sat Oct 18, 2003 8:35 am    Post subject: Reply with quote

pilla wrote:
Before rebooting,
Code:
rc-update del gdm default


This should read
Code:
# rc-update del xdm default


Regards,
Alexander
_________________
Out of loyalty to its disregarded comrades, this message feels free to ignore the reader.
Registered Linux User #317705
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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