⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resize_reiserfs.8

📁 reiserfsprogs-3.6.19.tar.gz 源码 给有需要的人!
💻 8
字号:
.\" -*- nroff -*-.\" Copyright 1996-2004 Hans Reiser..\" .TH RESIZE_REISERFS 8 "January 2004" "Reiserfsprogs-3.6.19".SH NAMEresize_reiserfs \- resizer tool for the ReiserFS filesystem.SH SYNOPSIS.BR resize_reiserfs[.B \-s.IR \fR[\fB+\fR|\fB\- ]\fIsize\fB[\fBK\fR|\fBM\fR|\fBG\fR]] [.B \-j.IR \fR\fIdev] [.B \-fqv].I device.SH DESCRIPTIONThe.B resize_reiserfstool resizes an unmounted reiserfs file system.  It enlarges or shrinks anreiserfs file system located on a.I deviceso that it will have.I sizebytes or size=old_size +(\-).I sizebytes if the + or \- prefix is used.If the.B \-soption is not specified, the filesystem will be resized to fill thegiven device.The.I sizeparameter may have one of the optional modifiers.BR K ", " M ", " G ,which means the.I sizeparameter is given in kilo\-, mega\-, gigabytes respectively..PPThe.B resize_reiserfsprogram does not manipulate the size of the device. If you wish toenlarge a filesystem, you must make sure you expand the underlyingdevice first. This can be done using.BR cfdisk (8)for partitions, by deleting the partition and recreating it with alarger size (assuming there is free space.I afterthe partition in question).  Make sure you re\-create it with thesame starting disk cylinder as before!  Otherwise, the resize operationwill certainly not work, and you may lose your entire filesystem..PPThe.B resize_reiserfsprogram allows to grow a reiserfs on-line if there is a freespace on block.I device..PPIf you wish to shrink a reiserfs partition, first use.B resize_reiserfsto shrink the file system. You may then use.BR cfdisk (8)to shrink the device. When shrinking the size of the device, make sureyou do not make it smaller than the reduced size of the reiserfs filesystem..SH OPTIONS.TP.BR \-s\ [+|\-]\fIsizeSet the new size in bytes..TP.BR \-j\ \fIdevSet the journal device name..TP .BR \-fForce, do not perform checks..TP.BR \-qDo not print anything but error messages..TP.BR \-v Turn on extra progress status messages (default)..SH RETURN VALUES0	Resizing successful..TP\-1	Resizing not successful..SH EXAMPLESThe following example shows how to test.B resize_reiserfs\fR.Suppose 2Gb reiserfs filesystem is created on the device /dev/hda8and is mounted on /mnt. For shrinking the device we need to unmount it first, then run.B resize_reiserfswith a.I size \fR parameter (in this case -1Gb):.PP\	df.br\	umount /mnt.br\	resize_reiserfs -s -1G /dev/hda8.br\	mount /dev/hda8 /mnt.br\	df /mnt.SH AUTHORThis version of.B resize_reiserfshas been written by Alexander Zarochentcev <zam@namesys.com>..SH BUGSPlease report bugs to the ReiserFS developers <reiserfs-dev@namesys.com>, providingas much information as possible--your hardware, kernel, patches, settings, all printedmessages; check the syslog file for any related information..SH SEE ALSO.BR cfdisk (8),.BR reiserfsck (8),.BR debugreiserfs (8)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -