"-r" is reboot, and the "-F" part is fsck when OS is booting up. These been
deprecated for some time now, and my CentOS 6 does not even have the -F
parameter and other newer distros as well.

If you want to force fsck at boot time, then as root:
  # touch /forcefsck

and run shutdown afterwards. Note, If you don't have OOB (out of band
management), advised not to do it. It could happen that fsck is asking for a
yes/no question at the console.

regards,
Andre | http://www.varon.ca

On Thu, Aug 25, 2011 at 2:25 AM, Johann Vincent Paul Tagle <
[email protected]> wrote:

> Ok it turns out this was me just being silly.  The tar xvf extracted it to
> /parent_directory/parent_directory/directory,
> not /parent_directory/directory, which is why I got confused.  But still
> would like to learn more about shutdown -rF.  Thanks.
>
>
> On Thu, Aug 25, 2011 at 2:06 PM, Johann Vincent Paul Tagle <
> [email protected]> wrote:
>
>> Hi.  Have a server on a US-based host, where I deleted a directory that
>> has around 275G worth of files.  The objective is to restore that directory
>> from a .tar backup.  However, after deleting the directory, df didn't
>> reflect the expected increase in the available space, and du -m still shows
>> the directory, although "ls <directory name>" does not.
>>
>> Tried rebooting the server - no changes.  I cannot unmount the filesystem
>> to run fsck as the directory is part of "/" so I need to be physically
>> logged on server to go on single user mode.  Googling about it people
>> suggest shutdown -rF, which I'm keen on trying because I'm stuck anyway as
>> the hosting provider cannot help me until I get endorsed by the account
>> owner, who won't be available until a few hours from now.  Just want to know
>> your thoughts about running this command.
>>
>> Thanks
>>
>> Johann
>>
>
>
> _________________________________________________
> Philippine Linux Users' Group (PLUG) Mailing List
> http://lists.linux.org.ph/mailman/listinfo/plug
> Searchable Archives: http://archives.free.net.ph
>
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to