Advertisement
Guest User

Copying ext4 from one sd card to another larger card

a guest
Aug 21st, 2013
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. My attempt to copy the ext4 part from a 4GB SD Card to an 8GB card. Both known working installations of Noobs:
  2.  
  3. GParted 0.5.1
  4.  
  5. Libparted 2.2
  6. Copy /dev/sdd6 to /dev/sdb (start at 1.33 GiB) 00:16:27 ( ERROR )
  7.  
  8. calibrate /dev/sdd6 00:00:00 ( SUCCESS )
  9.  
  10. path: /dev/sdd6
  11. start: 2605056
  12. end: 7841791
  13. size: 5236736 (2.50 GiB)
  14. check file system on /dev/sdd6 for errors and (if possible) fix them 00:00:04 ( SUCCESS )
  15.  
  16. e2fsck -f -y -v /dev/sdd6
  17.  
  18. Pass 1: Checking inodes, blocks, and sizes
  19. Pass 2: Checking directory structure
  20. Pass 3: Checking directory connectivity
  21. Pass 4: Checking reference counts
  22. Pass 5: Checking group summary information
  23.  
  24. 82046 inodes used (50.08%)
  25. 104 non-contiguous files (0.1%)
  26. 90 non-contiguous directories (0.1%)
  27. # of inodes with ind/dind/tind blocks: 0/0/0
  28. Extent depth histogram: 65683/46
  29. 592784 blocks used (90.56%)
  30. 0 bad blocks
  31. 1 large file
  32.  
  33. 59618 regular files
  34. 5618 directories
  35. 56 character device files
  36. 25 block device files
  37. 2 fifos
  38. 746 links
  39. 16715 symbolic links (16223 fast symbolic links)
  40. 3 sockets
  41. --------
  42. 82783 files
  43. e2fsck 1.41.11 (14-Mar-2010)
  44. create empty partition 00:00:01 ( SUCCESS )
  45.  
  46. path: /dev/sdb6
  47. start: 2795373
  48. end: 8032499
  49. size: 5237127 (2.50 GiB)
  50. set partition type on /dev/sdb6 00:00:00 ( SUCCESS )
  51.  
  52. new partition type: ext4
  53. copy file system of /dev/sdd6 to /dev/sdb6 00:16:22 ( ERROR )
  54.  
  55. using internal algorithm
  56. copy 5236736 sectors
  57. finding optimal blocksize
  58.  
  59. copy 65536 sectors using a blocksize of 64 sectors 00:00:14 ( SUCCESS )
  60.  
  61. 65536 of 65536 copied
  62. 13.766 seconds
  63. copy 65536 sectors using a blocksize of 128 sectors 00:00:13 ( SUCCESS )
  64.  
  65. 65536 of 65536 copied
  66. 13.454 seconds
  67. copy 65536 sectors using a blocksize of 256 sectors 00:00:16 ( SUCCESS )
  68.  
  69. 65536 of 65536 copied
  70. 15.6453 seconds
  71. copy 65536 sectors using a blocksize of 512 sectors 00:00:13 ( SUCCESS )
  72.  
  73. 65536 of 65536 copied
  74. 13.1006 seconds
  75. copy 65536 sectors using a blocksize of 1024 sectors 00:00:12 ( SUCCESS )
  76.  
  77. 65536 of 65536 copied
  78. 11.8337 seconds
  79. copy 65536 sectors using a blocksize of 2048 sectors 00:00:13 ( SUCCESS )
  80.  
  81. 65536 of 65536 copied
  82. 12.8781 seconds
  83. copy 65536 sectors using a blocksize of 4096 sectors 00:00:17 ( SUCCESS )
  84.  
  85. 65536 of 65536 copied
  86. 16.8456 seconds
  87. copy 65536 sectors using a blocksize of 8192 sectors 00:00:12 ( SUCCESS )
  88.  
  89. 65536 of 65536 copied
  90. 11.9549 seconds
  91. copy 65536 sectors using a blocksize of 16384 sectors 00:00:11 ( SUCCESS )
  92.  
  93. 65536 of 65536 copied
  94. 11.8328 seconds
  95. copy 65536 sectors using a blocksize of 32768 sectors 00:00:13 ( SUCCESS )
  96.  
  97. 65536 of 65536 copied
  98. 12.504 seconds
  99. copy 65536 sectors using a blocksize of 65536 sectors 00:00:11 ( SUCCESS )
  100.  
  101. 65536 of 65536 copied
  102. 11.2049 seconds
  103. optimal blocksize is 65536 sectors (32.00 MiB)
  104. copy 4515840 sectors using a blocksize of 65536 sectors 00:13:57 ( ERROR )
  105.  
  106. 2484224 of 4515840 copied
  107. Error while writing block at sector 4761453
  108. 3205120 sectors copied
  109. libparted messages ( INFO )
  110.  
  111. Input/output error during write on /dev/sdb
  112.  
  113. ========================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement