Reiserfs

From ISPWiki

Jump to: navigation, search

Introduction

ReiserFS is a Linux file system that allows for access to small files. It can be enlarged without dismounting.

Resizing FS

ReiserFS enables to enlarge the FS size without demounting. To do that, run the command:

resize_reiserfs -s 20G /dev/md0

The -s key specifies the size of a new disk. This value must not exceed the partition's size.

Restoring FS

You may use two keys for restoring ReiserFS. You must demount the partition before that:

reiserfsck --fix-fixable --yes /dev/sda4

This is a secure method, still it cannot fix everything. Once completed, the command will show the number of errors in a partition that can be fixed with only the following option:

reiserfsck --rebuild-tree /dev/sda4

"Hard" variant. You must carefully read and answer the questions. It is strongly prohibited to start, in case of any problems with the hard disk.

Was this helpful? Yes | No
Personal tools