View previous topic :: View next topic |
Author |
Message |
magnet Guru
Joined: 16 Mar 2003 Posts: 582 Location: france
|
Posted: Fri Oct 17, 2003 7:50 am Post subject: checking a mounted reiserfs filesystem. |
|
|
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 |
|
|
deepthought Guru
Joined: 04 Apr 2003 Posts: 321 Location: icbm://5131''N:0710''E
|
Posted: Fri Oct 17, 2003 11:27 am Post subject: |
|
|
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 |
|
|
magnet Guru
Joined: 16 Mar 2003 Posts: 582 Location: france
|
Posted: Fri Oct 17, 2003 11:46 am Post subject: |
|
|
ok,thanks for your advise.
let's kick them ! _________________ every step aim at glory. |
|
Back to top |
|
|
professorn Apprentice
Joined: 18 Sep 2003 Posts: 235 Location: Stockholm, Sweden
|
Posted: Fri Oct 17, 2003 1:29 pm Post subject: |
|
|
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 |
|
|
magnet Guru
Joined: 16 Mar 2003 Posts: 582 Location: france
|
Posted: Fri Oct 17, 2003 1:33 pm Post subject: |
|
|
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 |
|
|
deepthought Guru
Joined: 04 Apr 2003 Posts: 321 Location: icbm://5131''N:0710''E
|
Posted: Fri Oct 17, 2003 1:38 pm Post subject: |
|
|
Code: | # /etc/init.d/xdm stop |
But then, you could also
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 |
|
|
professorn Apprentice
Joined: 18 Sep 2003 Posts: 235 Location: Stockholm, Sweden
|
Posted: Fri Oct 17, 2003 2:38 pm Post subject: |
|
|
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 |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Fri Oct 17, 2003 3:31 pm Post subject: |
|
|
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 |
|
|
MrPyro Tux's lil' helper
Joined: 14 Aug 2003 Posts: 121 Location: Sheffield, England
|
Posted: Fri Oct 17, 2003 3:36 pm Post subject: |
|
|
Even better
reboots the system, and forces a file system check as it reboots _________________ Back off man, I'm a computer scientist |
|
Back to top |
|
|
professorn Apprentice
Joined: 18 Sep 2003 Posts: 235 Location: Stockholm, Sweden
|
Posted: Fri Oct 17, 2003 3:56 pm Post subject: |
|
|
A big THX
But humm, htat mean i gonna loose my uptime, NOO |
|
Back to top |
|
|
deepthought Guru
Joined: 04 Apr 2003 Posts: 321 Location: icbm://5131''N:0710''E
|
Posted: Sat Oct 18, 2003 8:35 am Post subject: |
|
|
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 |
|
|
|