{"id":2835,"date":"2022-12-20T15:17:26","date_gmt":"2022-12-20T18:17:26","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/resize_reiserfs-man8\/"},"modified":"2022-12-20T15:17:26","modified_gmt":"2022-12-20T18:17:26","slug":"resize_reiserfs-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/resize_reiserfs-man8\/","title":{"rendered":"RESIZE_REISERFS (man8)"},"content":{"rendered":"<h1 align=\"center\">RESIZE_REISERFS<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#RETURN VALUES\">RETURN VALUES<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#BUGS\">BUGS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">resize_reiserfs \u2212 resizer tool for the ReiserFS filesystem<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>resize_reiserfs<\/b> [ <b>\u2212s<\/b> [<b>+<\/b>|<b>\u2212<\/b>]<i>size<\/i><b>[K<\/b>|<b>M<\/b>|<b>G<\/b>] ] [ <b>\u2212j<\/b> <i>dev<\/i> ] [ <b>\u2212fqv<\/b> ] <i>device<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>resize_reiserfs<\/b> tool resizes an unmounted reiserfs file system. It enlarges or shrinks an reiserfs file system located on a <i>device<\/i> so that it will have <i>size<\/i> bytes or size=old_size +(\u2212) <i>size<\/i> bytes if the + or \u2212 prefix is used. If the <b>\u2212s<\/b> option is not specified, the filesystem will be resized to fill the given device. The <i>size<\/i> parameter may have one of the optional modifiers <b>K<\/b>, <b>M<\/b>, <b>G<\/b>, which means the <i>size<\/i> parameter is given in kilo\u2212, mega\u2212, gigabytes respectively.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>resize_reiserfs<\/b> program does not manipulate the size of the device. If you wish to enlarge a filesystem, you must make sure you expand the underlying device first. This can be done using <b>cfdisk<\/b>(8) for partitions, by deleting the partition and recreating it with a larger size (assuming there is free space <i>after<\/i> the partition in question). Make sure you re\u2212create it with the same starting disk cylinder as before! Otherwise, the resize operation will certainly not work, and you may lose your entire filesystem.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The <b>resize_reiserfs<\/b> program allows to grow a reiserfs on-line if there is a free space on block <i>device.<\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">If you wish to shrink a reiserfs partition, first use <b>resize_reiserfs<\/b> to shrink the file system. You may then use <b>cfdisk<\/b>(8) to shrink the device. When shrinking the size of the device, make sure you do not make it smaller than the reduced size of the reiserfs filesystem.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212s\u00a0[+|\u2212]<\/b><i>size<\/i><\/p>\n<p style=\"margin-left:22%;\">Set the new size in bytes.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>\u2212j\u00a0<\/b><i>dev<\/i><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"75%\">\n<p>Set the journal device name.<\/p>\n<\/td>\n<td width=\"3%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>\u2212f<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"75%\">\n<p>Force, do not perform checks.<\/p>\n<\/td>\n<td width=\"3%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>\u2212q<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"75%\">\n<p>Do not print anything but error messages.<\/p>\n<\/td>\n<td width=\"3%\"> <\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"9%\">\n<p><b>\u2212v<\/b><\/p>\n<\/td>\n<td width=\"2%\"><\/td>\n<td width=\"75%\">\n<p>Turn on extra progress status messages (default).<\/p>\n<\/td>\n<td width=\"3%\"> <\/td>\n<\/tr>\n<\/table>\n<h2>RETURN VALUES <a name=\"RETURN VALUES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">0 Resizing successful. <br \/> \u22121 Resizing not successful.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The following example shows how to test <b>resize_reiserfs<\/b>. Suppose 2Gb reiserfs filesystem is created on the device \/dev\/hda8 and is mounted on \/mnt. For shrinking the device we need to unmount it first, then run <b>resize_reiserfs<\/b> with a <i>size<\/i> parameter (in this case -1Gb):<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">df <br \/> umount \/mnt <br \/> resize_reiserfs \u2212s \u22121G \/dev\/hda8 <br \/> mount \/dev\/hda8 \/mnt <br \/> df \/mnt<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This version of <b>resize_reiserfs<\/b> has been written by Alexander Zarochentcev <zam@namesys.com>.<\/p>\n<h2>BUGS <a name=\"BUGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Please report bugs to the ReiserFS developers <reiserfs-devel@vger.kernel.org>, providing as much information as possible&#8211;your hardware, kernel, patches, settings, all printed messages; check the syslog file for any related information.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cfdisk<\/b>(8), <b>reiserfsck<\/b>(8), <b>debugreiserfs<\/b>(8)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  resize_reiserfs \u2212 resizer tool for the ReiserFS filesystem <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,185],"class_list":["post-2835","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-resize_reiserfs"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2835","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=2835"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/2835\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=2835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=2835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=2835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}