View previous topic :: View next topic |
Author |
Message |
ReDirEct__ Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/55802430444aa7bb143b10.jpg)
Joined: 16 Mar 2006 Posts: 300 Location: Nola (NA) - Italy
|
Posted: Sun Jun 22, 2008 1:50 am Post subject: there is a way to check hd with mounted partition? |
|
|
Same as object... have some problem with my ata hd... and want to check if something wrong... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zyko l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/1291073054843240492763.jpg)
Joined: 01 Jun 2008 Posts: 620 Location: Munich, Germany
|
Posted: Sun Jun 22, 2008 3:08 am Post subject: |
|
|
Hardware or file system? SMART info can be safely read while partitions on the drive are mounted. File system checks may do harm on mounted file systems, depending on what exactly you're doing
man fsck.ext3 says:
Quote: | Note that in general it is not safe to run e2fsck on mounted filesystems. The
only exception is if the -n option is specified, and -c, -l, or -L options are
not specified. However, even if it is safe to do so, the results printed by
e2fsck are not valid if the filesystem is mounted. If e2fsck asks whether or
not you should check a filesystem which is mounted, the only correct answer is
``no''. Only experts who really know what they are doing should consider answer-
ing this question in any other way. |
On the other hand, not all fsck-tools issue a warning like this. As long as you do read-only operations and don't change anything on the fs, I wouldn't expect any damage. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
albright Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/524660825462570600c7fb.jpg)
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Sun Jun 22, 2008 1:16 pm Post subject: |
|
|
Best to force a check and reboot (or are you afraid the
system won't reboot?).
(that is, shutdown -F -r now) _________________ .... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ReDirEct__ Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/55802430444aa7bb143b10.jpg)
Joined: 16 Mar 2006 Posts: 300 Location: Nola (NA) - Italy
|
Posted: Thu Jun 26, 2008 1:55 pm Post subject: |
|
|
tnx... i wil try to force the check on reboot... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|