Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 678138 Details for
Bug 895006
Got incorrect block count number when resize ntfs file system via "ntfsresize_opts"
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
command "nftfsersize" result
ntfsresize.log (text/x-log), 4.14 KB, created by
bfan
on 2013-01-14 09:50:12 UTC
(
hide
)
Description:
command "nftfsersize" result
Filename:
MIME Type:
Creator:
bfan
Created:
2013-01-14 09:50:12 UTC
Size:
4.14 KB
patch
obsolete
>[root@dhcp-66-106-208 /]# mkfs.ntfs /dev/xvdb1 >Cluster size has been automatically set to 4096 bytes. >Initializing device with zeroes: 100% - Done. >Creating NTFS volume structures. >mkntfs completed successfully. Have a nice day. >[root@dhcp-66-106-208 /]# mount -t ntfs /dev/xvdb1 /mnt >[root@dhcp-66-106-208 /]# df >Filesystem 1K-blocks Used Available Use% Mounted on >/dev/mapper/VolGroup-lv_root > 5716804 1592144 3834256 30% / >tmpfs 510288 0 510288 0% /dev/shm >/dev/xvda1 495844 33748 436496 8% /boot >/dev/xvdb1 2096448 10992 2085456 1% /mnt >[root@dhcp-66-106-208 /]# umount /mnt >[root@dhcp-66-106-208 /]# ntfsresize -f --size 2146758656 /dev/xvdb1 >ntfsresize v2.0.0 (libntfs 10:0:0) >Device name : /dev/xvdb1 >NTFS volume version: 3.1 >Cluster size : 4096 bytes >Current volume size: 2146763264 bytes (2147 MB) >Current device size: 2146765824 bytes (2147 MB) >New volume size : 2146755072 bytes (2147 MB) >Checking filesystem consistency ... >100.00 percent completed >Accounting clusters ... >Space in use : 12 MB (0.5%) >Collecting resizing constraints ... >Needed relocations : 0 (0 MB) >Schedule chkdsk for NTFS consistency check at Windows boot time ... >Resetting $LogFile ... (this might take a while) >Updating $BadClust file ... >Updating $Bitmap file ... >Updating Boot record ... >Syncing device ... >Successfully resized NTFS on device '/dev/xvdb1'. >You can go on to shrink the device for example with Linux fdisk. >IMPORTANT: When recreating the partition, make sure that you > 1) create it at the same disk sector (use sector as the unit!) > 2) create it with the same partition type (usually 7, HPFS/NTFS) > 3) do not make it smaller than the new NTFS filesystem size > 4) set the bootable flag for the partition if it existed before >Otherwise you won't be able to access NTFS or can't boot from the disk! >If you make a mistake and don't have a partition table backup then you >can recover the partition table by TestDisk or Parted's rescue mode. >[root@dhcp-66-106-208 /]# mount -t ntfs /dev/xvdb1 /mnt >[root@dhcp-66-106-208 /]# df >Filesystem 1K-blocks Used Available Use% Mounted on >/dev/mapper/VolGroup-lv_root > 5716804 1592144 3834256 30% / >tmpfs 510288 0 510288 0% /dev/shm >/dev/xvda1 495844 33748 436496 8% /boot >/dev/xvdb1 2096440 10992 2085448 1% /mnt >[root@dhcp-66-106-208 /]# umount / >umount: /: device is busy. > (In some cases useful info about processes that use > the device is found by lsof(8) or fuser(1)) >[root@dhcp-66-106-208 /]# umount /mnt >[root@dhcp-66-106-208 /]# ntfsresize -f --size /dev/xvdb1 >ntfsresize v2.0.0 (libntfs 10:0:0) >ERROR: Illegal new volume size >[root@dhcp-66-106-208 /]# ntfsresize -f /dev/xvdb1 >ntfsresize v2.0.0 (libntfs 10:0:0) >Device name : /dev/xvdb1 >NTFS volume version: 3.1 >Cluster size : 4096 bytes >Current volume size: 2146755072 bytes (2147 MB) >Current device size: 2146765824 bytes (2147 MB) >New volume size : 2146759168 bytes (2147 MB) >Checking filesystem consistency ... >100.00 percent completed >Accounting clusters ... >Space in use : 12 MB (0.5%) >Collecting resizing constraints ... >WARNING: Every sanity check passed and only the dangerous operations left. >Make sure that important data has been backed up! Power outage or computer >crash may result major data loss! >Are you sure you want to proceed (y/[n])? y >Schedule chkdsk for NTFS consistency check at Windows boot time ... >Resetting $LogFile ... (this might take a while) >Updating $BadClust file ... >Updating $Bitmap file ... >Updating Boot record ... >Syncing device ... >Successfully resized NTFS on device '/dev/xvdb1'. >[root@dhcp-66-106-208 /]# mount -t ntfs /dev/xvdb1 /mnt >[root@dhcp-66-106-208 /]# df >Filesystem 1K-blocks Used Available Use% Mounted on >/dev/mapper/VolGroup-lv_root > 5716804 1592144 3834256 30% / >tmpfs 510288 0 510288 0% /dev/shm >/dev/xvda1 495844 33748 436496 8% /boot >/dev/xvdb1 2096444 10992 2085452 1% /mnt >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 895006
: 678138