Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Traveller''s Lunchbox

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 68 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

ntfsresize



SYNOPSIS

       ntfsresize [-fhin] [-s size[k|M|G]] device


DESCRIPTION

       The  ntfsresize  program non-destructively resizes Windows
       NT4, 2000, XP or .NET NTFS filesystems.  At present it can
       be  used to enlarge or shrink a defragmented NTFS filesys­
       tem located on an unmounted device (usually a disk  parti­
       tion).  The  new  volume  will  have size bytes.  The size
       parameter may have one of the optional modifiers k, M,  G,
       which means the size parameter is given in kilo-, mega- or
       gigabytes respectively.  ntfsresize conforms  to  the  SI,
       ATA,  IEEE  standards  and the disk manufacturers by using
       k=10^3, M=10^6 and G=10^9.  The  options  -i  and  -s  are
       mutually  exclusive.  If both of them are omitted then the
       NTFS filesystem will  be  enlarged  to  the  device  size.
       Before  a  real  resize operation, always make a read-only
       test run using the -n option.

       The ntfsresize program doesn't manipulate the size of par­
       titions.   To  do that you have to use a disk partitioning
       tool, for example fdisk(8).

       If you wish to enlarge an NTFS filesystem, you must  first
       make sure you can expand the size of the underlying parti­
       tion first. This can be done using  fdisk(8)  by  deleting
       the  partition and recreating it with a larger size.  Then
       you may use ntfsresize to enlarge the size of the filesys­
       tem.

       If you wish to shrink an NTFS partition, first use ntfsre­
       size to shrink the size of the filesystem.  Then  you  may
       use fdisk(8) to shrink the size of the partition by delet­
       ing the partition and recreating it with the smaller size.

       IMPORTANT!   When  recreating  the partition with fdisk(8)
       make sure you create it with the same starting disk cylin­
       der and partition type as before.  If you enlarge a parti­
       tion make sure it will not overlap with an other  existing
       partition!   If  you  shrink  a  partition, do not make it
       smaller than the new size of the NTFS filesystem!   Other­
       wise  you may lose your entire filesystem.  Also make sure
       you set the bootable flag for the partition if it  existed
       before.  Failing  to  do  so you might not be able to boot
       your computer from the disk!

       Note, ntfsresize schedules 'chkdsk' to make an  NTFS  con­
       sistency  check  when  you  will boot Windows. Windows may
       force a reboot after the successful consistency check.


OPTIONS

              only and ntfsresize displays what it would do if it
              were to resize the filesystem.

       -s size[k|M|G]
              Resize  volume  to size[k|M|G] bytes.  The optional
              modifiers k, M, G mean the size parameter is  given
              in  kilo-,  mega-  or gigabytes respectively.  Con­
              forming to standards, k=10^3, M=10^6 and G=10^9.


BUGS

       No bugs are known or has been reported so far in the  cur­
       rent  version.  If you find otherwise, please report it to
       <linux-ntfs-dev@lists.sourceforge.net>  (no   subscription
       needed). It's also strongly advised you MAKE SURE YOU HAVE
       A BACKUP of your important data in case of  an  unexpected
       failure.

       Future  work  is planned to include support resizing frag­
       mented NTFS volumes.  Please note, Windows  2000,  XP  and
       .NET have built in NTFS defragmenter.


AUTHOR

       ntfsresize   has   been  written  by  Szabolcs  Szakacsits
       <szaka@sienet.hu>.


ACKNOWLEDGEMENT

       Many thanks  to  Anton  Altaparmakov  and  Richard  Russon
       (FlatCap)  for libntfs, excellent documentation, comments,
       testing  and  fixes,  moreover  to  Theodore  Ts'o   whose
       resize2fs(8) man page formed the basis of this page.


AVAILABILITY

       ntfsresize is part of the linux-ntfs package and is avail­
       able from http://linux-ntfs.sourceforge.net/ as source and
       pre-compiled  binary.  ntfsresize related news, example of
       usage and FAQ (frequently asked questions)  is  maintained
       at http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html


SEE ALSO

       fdisk(8), cfdisk(8), sfdisk(8), parted(8), mkntfs(8), ntf­
       sprogs(8)

ntfsprogs 1.7.1              Jan 2003               NTFSRESIZE(8)
  

There are several different ways to navigate the tutorial.


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds