fsck on mounted system?
Hi,
it is nowadays common to have a big partition in your system with almost everything. When you have some energy blackouts and want to check for the integrity of your discs, how do you do it? thx... -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
fsck on mounted system?
oxy wrote:
> it is nowadays common to have a big partition in your system with > almost everything. When you have some energy blackouts and > want to check for the integrity of your discs, how do you do it? Use the command sudo touch /forcefsck and then the filesystem should be checked at the next reboot. Nils -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
fsck on mounted system?
On 07/09/12 10:38, oxy wrote:
Hi, it is nowadays common to have a big partition in your system with almost everything. When you have some energy blackouts and want to check for the integrity of your discs, how do you do it? thx. > This can be done either by booting a live Cd or USB and running fsck from there. Or booting into 'Recovery Mode' from the Grub menu and selecting 'Check all files systems' from the menu. -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
fsck on mounted system?
oxy wrote:
> it is nowadays common to have a big partition in your system with > almost everything. When you have some energy blackouts and > want to check for the integrity of your discs, how do you do it? Buy a UPS? -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
fsck on mounted system?
>
> sudo touch /forcefsck > > and then the filesystem should be checked at the next reboot. > is there a way to force fsck on shutdown? -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
fsck on mounted system?
On 7 September 2012 10:38, oxy <oxyopes@googlemail.com> wrote:
> Hi, > > it is nowadays common to have a big partition in your system with > almost everything. When you have some energy blackouts and > want to check for the integrity of your discs, how do you do it? Don't have one big partition. :¬) At least until Ubuntu adopts swap*files*, you need a separate swap partition anyway - so if you're creating 2, keep going and separate /home off as well. There are a number of benefits to doing this, notably when it comes to dual-booting and upgrading your OS. -- Liam Proven • Profile: http://lproven.livejournal.com/profile Email: lproven@cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven MSN: lproven@hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven Tel: +44 20-8685-0498 • Cell: +44 7939-087884 -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
fsck on mounted system?
oxy wrote:
> > sudo touch /forcefsck > > > > and then the filesystem should be checked at the next reboot. > > is there a way to force fsck on shutdown? I don't think so. At least I didn't read about such an option until now. Nils -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
fsck on mounted system?
On 07/09/12 20:16, Nils Kassube wrote:
oxy wrote: it is nowadays common to have a big partition in your system with almost everything. When you have some energy blackouts and want to check for the integrity of your discs, how do you do it? Use the command sudo touch /forcefsck and then the filesystem should be checked at the next reboot. Nils The file system is checked at boot time anyway. However, if there are serious problems they are not corrected and you need to run e2fsck manually. Here I speak from experience. We had a couple of power failures during severe storms following which my wife's computer played up for several days (computer was booted every morning). On a hunch I did e2fsck manually and found bad corruption of the file system which I then had e2fsck repair. Problem disappeared. In another place, I gave another person same advice and he came back stating that his fs was also corrupted and e2fsck repaired the damage. When running e2fsck manually do NOT use the '-p' option; watch what e2fsck shows you as problem(s) and answer the questions (all usually in the affirmative). (And it doesn't hurt to run e2fsck occasionally either - it won't do any harm but it may just reveal some problem in the file system which developed for some reason. BTW, if you are using reiser file system then run 'reiserfsck --fix-fixable'.) BC -- Using openSUSE 12.2 x86_64 KDE 4.9.1 & kernel 3.5.3-1 on a system with- AMD FX 8-core 3.6/4.2GHz processor 16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
fsck on mounted system?
On 7 September 2012 11:26, oxy <oxyopes@googlemail.com> wrote:
>> >> sudo touch /forcefsck >> >> and then the filesystem should be checked at the next reboot. >> > > > is there a way to force fsck on shutdown? No, not AFAIK, because the system would have to drop from a multituser runlevel down to single-user in order that the filesystems could be remounted read-only. You mustn't try to fsck a mounted filesystem or you *will* screw it up, badly. -- Liam Proven • Profile: http://lproven.livejournal.com/profile Email: lproven@cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven MSN: lproven@hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven Tel: +44 20-8685-0498 • Cell: +44 7939-087884 -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
fsck on mounted system?
Liam Proven wrote:
> On 7 September 2012 11:26, oxy <oxyopes@googlemail.com> wrote: >>> sudo touch /forcefsck >>> >>> and then the filesystem should be checked at the next reboot. >> >> is there a way to force fsck on shutdown? > > No, not AFAIK, because the system would have to drop from a multituser > runlevel down to single-user in order that the filesystems could be > remounted read-only. That could be done of course, but at shutdown, the system is also in its 'most likely to be corrupt' state. Not the ideal time to run some self-checking code. It would be better to let the system shut down, reboot so it's in a completely known state, then run fsck and shut down again. -- ubuntu-users mailing list ubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users |
| All times are GMT. The time now is 10:03 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.