Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Untitled
Sunday, July 29th, 2007 at 1:52:49am UTC 

  1. [email protected]:/home/truman# ntfsresize -if /dev/sda5ntfsresize v1.13.1 (libntfs 9:0:0)
  2. Device name        : /dev/sda5
  3. NTFS volume version: 3.1
  4. Cluster size       : 4096 bytes
  5. Current volume size: 442552930816 bytes (442553 MB)
  6. Current device size: 442552932864 bytes (442553 MB)
  7. Checking filesystem consistency ...
  8. 100.00 percent completed
  9. Accounting clusters ...
  10. Space in use       : 256252 MB (57.9%)
  11. Collecting resizing constraints ...
  12. You might resize at 256251813888 bytes or 256252 MB (freeing 186301 MB).
  13. Please make a test run using both the -n and -s options before real resizing!
  14.  
  15. [email protected]:/home/truman# ntfsresize -f -s 260G /dev/sda5
  16. ntfsresize v1.13.1 (libntfs 9:0:0)
  17. Device name        : /dev/sda5
  18. NTFS volume version: 3.1
  19. Cluster size       : 4096 bytes
  20. Current volume size: 442552930816 bytes (442553 MB)
  21. Current device size: 442552932864 bytes (442553 MB)
  22. New volume size    : 259999994368 bytes (260000 MB)
  23. Checking filesystem consistency ...
  24. 100.00 percent completed
  25. Accounting clusters ...
  26. Space in use       : 256252 MB (57.9%)
  27. Collecting resizing constraints ...
  28. Needed relocations : 13857983 (56763 MB)
  29. Schedule chkdsk for NTFS consistency check at Windows boot time ...
  30. Resetting $LogFile ... (this might take a while)
  31. Relocating needed data ...
  32. 100.00 percent completed
  33. Updating $BadClust file ...
  34. Updating $Bitmap file ...
  35. Updating Boot record ...
  36. Syncing device ...
  37. Successfully resized NTFS on device '/dev/sda5'.
  38. You can go on to shrink the device for example with Linux fdisk.
  39. IMPORTANT: When recreating the partition, make sure that you
  40.   1)  create it at the same disk sector (use sector as the unit!)
  41.   2)  create it with the same partition type (usually 7, HPFS/NTFS)
  42.   3)  do not make it smaller than the new NTFS filesystem size
  43.   4)  set the bootable flag for the partition if it existed before
  44. Otherwise you won't be able to access NTFS or can't boot from the disk!
  45. If you make a mistake and don't have a partition table backup then you
  46. can recover the partition table by TestDisk or Parted's rescue mode.
  47. [email protected]:/home/truman# fdisk
  48.  
  49. Usage: fdisk [-l] [-b SSZ] [-u] device
  50. E.g.: fdisk /dev/hda  (for the first IDE disk)
  51.   or: fdisk /dev/sdc  (for the third SCSI disk)
  52.   or: fdisk /dev/eda  (for the first PS/2 ESDI drive)
  53.   or: fdisk /dev/rd/c0d0  or: fdisk /dev/ida/c0d0  (for RAID devices)
  54.  
  55.  
  56. I'm not sure what to do from here.  As you can see, that partition originally had about 250GB worth of data.  I decided to boot back to windows.  It ran a disk check like it said it would, then booted normally.  It allows me full access to that partition from windows, though it shows that it's disk usage is at close to 450/460GB.  I'm not sure what to do here, other than back up all of my data and wipe the whole disk.

advertising

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right