fsadm(8)


NAME

   fsadm --- utility to resize or check filesystem on a device

SYNOPSIS

   fsadm [options] check device
   fsadm [options] resize device [new_size]

DESCRIPTION

   fsadm  utility  checks or resizes the filesystem on a device.  It tries
   to use the same API for ext2, ext3, ext4, ReiserFS and XFS filesystem.

OPTIONS

   -e|--ext-offline
          Unmount ext2/ext3/ext4 filesystem before doing resize.

   -f|--force
          Bypass some sanity checks.

   -h|--help
          Display the help text.

   -n|--dry-run
          Print commands without running them.

   -v|--verbose
          Be more verbose.

   -y|--yes
          Answer "yes" at any prompts.

   new_size[B|K|M|G|T|P|E]
          Absolute number of filesystem blocks to be in the filesystem, or
          an  absolute  size  using  a  suffix  (in  powers  of 1024).  If
          new_size is not supplied, the whole device is used.

DIAGNOSTICS

   On successful completion, the status code is 0.  A  status  code  of  2
   indicates  the operation was interrupted by the user.  A status code of
   3 indicates the  requested  check  operation  could  not  be  performed
   because  the  filesystem  is  mounted  and  does  not support an online
   fsck(8).  A status code of 1 is used for other failures.

EXAMPLES

   Resize the filesystem on logical volume /dev/vg/test to 1000 megabytes.
   If /dev/vg/test contains ext2/ext3/ext4 filesystem it will be unmounted
   prior the resize.  All [y/n] questions will be answered 'y'.

   fsadm -e -y resize /dev/vg/test 1000M

ENVIRONMENT VARIABLES

   TMPDIR The temporary directory  name  for  mount  points.  Defaults  to
          "/tmp".

   DM_DEV_DIR
          The  device  directory  name.  Defaults to "/dev" and must be an
          absolute path.

SEE ALSO

   lvm(8), lvresize(8), lvm.conf(5),  fsck(8),  tune2fs(8),  resize2fs(8),
   reiserfstune(8),    resize_reiserfs(8),   xfs_info(8),   xfs_growfs(8),
   xfs_check(8)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.