Jump to content

Тест fsck в legacy прошивке


r13

Recommended Posts

@Le ecureuil

По призыву в чатике завожу тему

Сейчас в самоизоляции с собой гига2 и кинетик2 

Смогу на них протестировать fsck когда добавишь в тестовую прошивку. 

Link to comment
Share on other sites

Хоть и не в самоизоляции, тоже по тестирую вечерами.

Имеется: EXTRA II и GIGA III на них могу если что по тестить, флешка на 16ГБ в EXT4

Link to comment
Share on other sites

Готово, в версии 2.16.D.3.0-2 есть везде.

Компонент называется "Утилиты для ext4" / "ext4 utilities" в разделе opkg.

Перед любым действием нужно размонтировать ФС через

> no system mount <volume>

иначе получите ругань в команде или отсутствие подходящего аргумента.

> opkg extfs format (<volume> | sdXY)

Форматирует раздел <volume> в ext4, совместимый с ядром 3.4. Если у вас раздел с другой ФС, которая не определяется системой, или вообще без ФС, то его можно задать в виде sdXY, например sda1.

> opkg extfs check <volume>

Проверяет раздел на ошибки и исправляет их автоматически (задан ключ "-y").

 

Можно тестировать.

Отписывайтесь по результатам.

  • Thanks 6
Link to comment
Share on other sites

@Le ecureuil

Format не смог переварить обращение по uuid к флешке, форматирование по метке успешно

(config)> opkg extfs format

 Usage template:
           format ({filesystem} | sdXY)

   Choose:
      721F-3133:
        NO NAME:

(config)> opkg extfs format 721F-3133:
lib::libndmOpkgExtfs error[268238953]: system failed [0xcffd0069].
(config)> opkg extfs format 721F-3133:
lib::libndmOpkgExtfs error[268238953]: system failed [0xcffd0069].
(config)> opkg extfs format N

 Usage template:
           format ({filesystem} | sdXY)

(config)> opkg extfs format "NO NAME:"
formatting device "/dev/sda" to ext4 filesystem ...
mke2fs 1.44.5 (15-Dec-2018)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=EXT4-951ABB
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
979200 inodes, 3911424 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4005560320
120 block groups
32768 blocks per group, 32768 fragments per group
8160 inodes per group
Filesystem UUID: 381b1ea2-aa40-40c6-a536-a7a82bdf7faa
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: done
(config)>

 

Link to comment
Share on other sites

11 час назад, Le ecureuil сказал:

Отписывайтесь по результатам.

Проверил на GIGA III (пока на 2ГБ флешке):

Скрытый текст

(config)> no system mount "BAA:"
FileSystem::Repository: "BAA:" unmounted.
(config)> opkg extfs check "BAA:"
checking ext4 filesystem on partition "b9cef92d-85e5-4441-8140-00cf931b7c93:" / "BAA" ("/dev/sda1") ...
e2fsck 1.44.5 (15-Dec-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
         630 inodes used (0.50%, out of 125440)
           0 non-contiguous files (0.0%)
           0 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 413
       20751 blocks used (4.14%, out of 501248)
           0 bad blocks
           1 large file
         340 regular files
          72 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
         209 symbolic links (209 fast symbolic links)
           0 sockets
------------
         621 files
Memory used: 184k/0k (51k/134k), time:  0.19/ 0.09/ 0.04
I/O read: 2MB, write: 1MB, rate: 10.35MB/s
(config)> 
 

(config)> opkg extfs format "BAA:"
formatting device "/dev/sda1" to ext4 filesystem ...
mke2fs 1.44.5 (15-Dec-2018)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=EXT4-4EC1D
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
125440 inodes, 501248 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=515899392
16 block groups
32768 blocks per group, 32768 fragments per group
7840 inodes per group
Filesystem UUID: 02709160-9408-4487-84e8-0c689bd11220
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912
Allocating group tables: done                            
done
done
(config)> 

 

 

Link to comment
Share on other sites

12 минуты назад, drugold сказал:

А проверка ф.с. ext3 поддерживается?

Проверка на EXTRA II, флешка на 16ГБ система EXT3:

Скрытый текст

(config)> no system mount "BAA16:"
FileSystem::Repository: "BAA16:" unmounted.
(config)> opkg extfs check "BAA16:"
checking ext4 filesystem on partition "8b329b3a-2913-4a4e-a2cd-108d73f1c6cb:" / "BAA16" ("/dev/sda1") ...
e2fsck 1.44.5 (15-Dec-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
         449 inodes used (0.05%, out of 940240)
         423 non-contiguous files (94.2%)
           1 non-contiguous directory (0.2%)
             # of inodes with ind/dind/tind blocks: 423/104/0
      639852 blocks used (17.04%, out of 3753980)
           0 bad blocks
           1 large file
         427 regular files
          13 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
         440 files
Memory used: 504k/0k (109k/396k), time: 13.48/ 4.44/ 2.97
I/O read: 239MB, write: 1MB, rate: 17.73MB/s
(config)> 
 

 

Edited by AndreBA
  • Thanks 1
Link to comment
Share on other sites

18 минут назад, drugold сказал:

А проверка ф.с. ext3 поддерживается?

Да, и ext2

  • Thanks 1
  • Upvote 1
Link to comment
Share on other sites

11 час назад, r13 сказал:

Format не смог переварить обращение по uuid к флешке, форматирование по метке успешно

а в роутере нет lsblk? ато no name может быть не  один.

Link to comment
Share on other sites

11 час назад, r13 сказал:

@Le ecureuil

Format не смог переварить обращение по uuid к флешке, форматирование по метке успешно


(config)> opkg extfs format

 Usage template:
           format ({filesystem} | sdXY)

   Choose:
      721F-3133:
        NO NAME:

(config)> opkg extfs format 721F-3133:
lib::libndmOpkgExtfs error[268238953]: system failed [0xcffd0069].
(config)> opkg extfs format 721F-3133:
lib::libndmOpkgExtfs error[268238953]: system failed [0xcffd0069].
(config)> opkg extfs format N

 Usage template:
           format ({filesystem} | sdXY)

(config)> opkg extfs format "NO NAME:"
formatting device "/dev/sda" to ext4 filesystem ...
mke2fs 1.44.5 (15-Dec-2018)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=EXT4-951ABB
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
979200 inodes, 3911424 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4005560320
120 block groups
32768 blocks per group, 32768 fragments per group
8160 inodes per group
Filesystem UUID: 381b1ea2-aa40-40c6-a536-a7a82bdf7faa
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: done
(config)>

 

Это была флешка с fat32?

Link to comment
Share on other sites

49 минут назад, Le ecureuil сказал:

Это была флешка с fat32?

Возможно, сейчас ставлю эксперименты, даже если и еxt то тоже по uuid ошибка


(config)> opkg extfs format

 Usage template:
           format ({filesystem} | sdXY)

   Choose:
 af7cbb71-7920-4c03-87c2-29bdd6f3af8c:
                               Disk 3:
 4564095f-f409-4a58-b620-7247398d44cb:
                                Disk4:

(config)> opkg extfs format 45

 Usage template:
           format ({filesystem} | sdXY)

(config)> ... 0-7247398d44cb:
lib::libndmOpkgExtfs error[268238953]: system failed [0xcffd0069].

(config)> opkg extfs format Disk4:
formatting device "/dev/sdb4" to ext4 filesystem ...
mke2fs 1.44.5 (15-Dec-2018)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=EXT4-295AC9E
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
191616 inodes, 765440 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=784334848
24 block groups
32768 blocks per group, 32768 fragments per group
7984 inodes per group
Filesystem UUID: efe89343-e9bd-4e62-89df-e26044b5112c
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912
Allocating group tables: done
done
done

Edited by r13
Link to comment
Share on other sites

Опробовал 4ТБ диск(файлов  примерно на  250ГБ) на GIGA III. Проверка:

Скрытый текст

checking ext4 filesystem on partition "17b74f24-2fee-4ebc-8a17-5d4edd51ffed:" / "Seagate4T3" ("/dev/sda1") ...
e2fsck 1.44.5 (15-Dec-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
       34146 inodes used (0.01%, out of 244195328)
       10755 non-contiguous files (31.5%)
          17 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 10865/1824/1
    73523636 blocks used (7.53%, out of 976754176)
           0 bad blocks
          33 large files
       27976 regular files
        6161 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
       34137 files
Memory used: 6020k/936k (2398k/3623k), time: 2222.07/692.48/561.55
I/O read: 60163MB, write: 1MB, rate: 27.08MB/s
 

Сейчас еще попробую "формат"

Link to comment
Share on other sites

16 минут назад, AndreBA сказал:

Опробовал 4ТБ диск(файлов  примерно на  250ГБ) на GIGA III. Проверка:

  Скрыть содержимое

checking ext4 filesystem on partition "17b74f24-2fee-4ebc-8a17-5d4edd51ffed:" / "Seagate4T3" ("/dev/sda1") ...
e2fsck 1.44.5 (15-Dec-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
       34146 inodes used (0.01%, out of 244195328)
       10755 non-contiguous files (31.5%)
          17 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 10865/1824/1
    73523636 blocks used (7.53%, out of 976754176)
           0 bad blocks
          33 large files
       27976 regular files
        6161 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
       34137 files
Memory used: 6020k/936k (2398k/3623k), time: 2222.07/692.48/561.55
I/O read: 60163MB, write: 1MB, rate: 27.08MB/s
 

Сейчас еще попробую "формат"

По uuid обращение работает?

Link to comment
Share on other sites

Поформатировал исходные exFat FAT32 NTFS

Все только по метке/sdAB

Скрытый текст

(config)> opkg extfs format

 Usage template:
           format ({filesystem} | sdXY)

   Choose:
 8260D9F960D9F43F:
             NTFS:
        00C6-2C89:
              FAT:

(config)> opkg extfs format 8

 Usage template:
           format ({filesystem} | sdXY)

(config)> opkg extfs format 8260D9F960D9F43F:
lib::libndmOpkgExtfs error[268238953]: system failed [0xcffd0069].
(config)> opkg extfs format 0

 Usage template:
           format ({filesystem} | sdXY)

(config)> opkg extfs format 00C6-2C89:
lib::libndmOpkgExtfs error[268238953]: system failed [0xcffd0069].
(config)> opkg extfs format N

 Usage template:
           format ({filesystem} | sdXY)

(config)> opkg extfs format NTFS:
formatting device "/dev/sdb3" to ext4 filesystem ...
mke2fs 1.44.5 (15-Dec-2018)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=EXT4-2C232A9
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
262144 inodes, 1048576 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1073741824
32 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Filesystem UUID: c2c6caab-0012-4a84-a5db-8e53661c326d
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: done
done
done
(config)> opkg extfs format F

 Usage template:
           format ({filesystem} | sdXY)

(config)> opkg extfs format FAT:
formatting device "/dev/sdb4" to ext4 filesystem ...
mke2fs 1.44.5 (15-Dec-2018)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=EXT4-2C2B833
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
191616 inodes, 765440 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=784334848
24 block groups
32768 blocks per group, 32768 fragments per group
7984 inodes per group
Filesystem UUID: 286ace8e-3e42-4e29-95fc-8d818bcdbd08
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912
Allocating group tables: done
done
done
(config)> opkg extfs format sdb2
formatting device "/dev/sdb2" to ext4 filesystem ...
mke2fs 1.44.5 (15-Dec-2018)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=EXT4-2C3401C
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
262144 inodes, 1048576 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1073741824
32 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Filesystem UUID: cdf2f514-be71-4947-89dc-7da930364f36
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: done
done
done
(config)>

 

 

Link to comment
Share on other sites

Форматнул диск на 4ТБ.

Скрытый текст

formatting device "/dev/sda1" to ext4 filesystem ...
mke2fs 1.44.5 (15-Dec-2018)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=EXT4-89CF59
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
244195328 inodes, 976754176 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
29809 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Filesystem UUID: 7f8e3c17-49c6-4d20-a983-57eeba004b64
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
        102400000, 214990848, 512000000, 550731776, 644972544
Allocating group tables: done
(config)> done
done
(config)>

977122458__448.png.9cc0e23f71b00659ec44067a2984b5b2.png

 

Link to comment
Share on other sites

49 минут назад, AndreBA сказал:

Опробовал 4ТБ диск(файлов  примерно на  250ГБ) на GIGA III. Проверка:

  Скрыть содержимое

checking ext4 filesystem on partition "17b74f24-2fee-4ebc-8a17-5d4edd51ffed:" / "Seagate4T3" ("/dev/sda1") ...
e2fsck 1.44.5 (15-Dec-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
       34146 inodes used (0.01%, out of 244195328)
       10755 non-contiguous files (31.5%)
          17 non-contiguous directories (0.0%)
             # of inodes with ind/dind/tind blocks: 10865/1824/1
    73523636 blocks used (7.53%, out of 976754176)
           0 bad blocks
          33 large files
       27976 regular files
        6161 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
       34137 files
Memory used: 6020k/936k (2398k/3623k), time: 2222.07/692.48/561.55
I/O read: 60163MB, write: 1MB, rate: 27.08MB/s
 

Сейчас еще попробую "формат"

Занял всего 6 мбайт ОЗУ, но выполнялся час... Неплохо в принципе.

Link to comment
Share on other sites

27 минут назад, AndreBA сказал:

Форматнул диск на 4ТБ.

  Скрыть содержимое

formatting device "/dev/sda1" to ext4 filesystem ...
mke2fs 1.44.5 (15-Dec-2018)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=EXT4-89CF59
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
244195328 inodes, 976754176 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
29809 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Filesystem UUID: 7f8e3c17-49c6-4d20-a983-57eeba004b64
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
        102400000, 214990848, 512000000, 550731776, 644972544
Allocating group tables: done
(config)> done
done
(config)>

977122458__448.png.9cc0e23f71b00659ec44067a2984b5b2.png

 

Недурно, значит наконец-то оно не строит полную карту блоков в ОЗУ! Хорошая новость.

Link to comment
Share on other sites

В 19.04.2020 в 13:31, Le ecureuil сказал:

Это починим, там понятно в чем проблема.

@r13Теперь работает uuid:

Скрытый текст

(config)> no system mount "BAA16:"
FileSystem::Repository: "BAA16:" unmounted.
(config)> opkg extfs check 8b329b3a-2913-4a4e-a2cd-108d73f1c6cb:
checking ext4 filesystem on device "8b329b3a-2913-4a4e-a2cd-108d73f1c6cb:" / "BAA16" ("/dev/sda1") ...
e2fsck 1.44.5 (15-Dec-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
         451 inodes used (0.05%, out of 940240)
         423 non-contiguous files (93.8%)
           1 non-contiguous directory (0.2%)
             # of inodes with ind/dind/tind blocks: 423/104/0
      639854 blocks used (17.04%, out of 3753980)
           0 bad blocks
           1 large file
         428 regular files
          14 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
         442 files
Memory used: 504k/0k (109k/396k), time: 11.35/ 2.82/ 2.03
I/O read: 239MB, write: 1MB, rate: 21.06MB/s
(config)> opkg extfs format 8b329b3a-2913-4a4e-a2cd-108d73f1c6cb:
formatting device "/dev/sda1" to ext4 filesystem ...
mke2fs 1.44.5 (15-Dec-2018)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=EXT4-76CAC
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
940240 inodes, 3753980 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=3846176768
115 block groups
32768 blocks per group, 32768 fragments per group
8176 inodes per group
Filesystem UUID: d2906b79-0191-433a-a706-5d73f0ef6a24
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: done
(config)> done
 

 

Link to comment
Share on other sites

3 часа назад, AndreBA сказал:

@r13Теперь работает uuid:

  Показать содержимое

(config)> no system mount "BAA16:"
FileSystem::Repository: "BAA16:" unmounted.
(config)> opkg extfs check 8b329b3a-2913-4a4e-a2cd-108d73f1c6cb:
checking ext4 filesystem on device "8b329b3a-2913-4a4e-a2cd-108d73f1c6cb:" / "BAA16" ("/dev/sda1") ...
e2fsck 1.44.5 (15-Dec-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
         451 inodes used (0.05%, out of 940240)
         423 non-contiguous files (93.8%)
           1 non-contiguous directory (0.2%)
             # of inodes with ind/dind/tind blocks: 423/104/0
      639854 blocks used (17.04%, out of 3753980)
           0 bad blocks
           1 large file
         428 regular files
          14 directories
           0 character device files
           0 block device files
           0 fifos
           0 links
           0 symbolic links (0 fast symbolic links)
           0 sockets
------------
         442 files
Memory used: 504k/0k (109k/396k), time: 11.35/ 2.82/ 2.03
I/O read: 239MB, write: 1MB, rate: 21.06MB/s
(config)> opkg extfs format 8b329b3a-2913-4a4e-a2cd-108d73f1c6cb:
formatting device "/dev/sda1" to ext4 filesystem ...
mke2fs 1.44.5 (15-Dec-2018)
fs_types for mke2fs.conf resolution: 'ext4'
Filesystem label=EXT4-76CAC
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
940240 inodes, 3753980 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=3846176768
115 block groups
32768 blocks per group, 32768 fragments per group
8176 inodes per group
Filesystem UUID: d2906b79-0191-433a-a706-5d73f0ef6a24
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208
Allocating group tables: done
(config)> done
 

 

Да теперь все ок 🙂

Link to comment
Share on other sites

@Le ecureuilПроверку NTFS проходит:

Скрытый текст

(config)> opkg ntfs check baa:
checking NTFS filesystem on device "7EACF3D8376BE37A:" / "baa" ("/dev/sda4") ...
ntfsck 3017.7.18.4
Couldn't set local environment, using default ''.
Syncing device ...
Checking NTFS Superblock ...
Device name        : /dev/sda4
NTFS volume version: 3.1
Cluster size       : 4096 bytes
Current volume size: 2055074304 bytes (2056 MB)
Checking system files ...
Current device size: 2055076864 bytes (2056 MB)
Checking for bad sectors ...
Checking attributes ...
Checking directory structure ...
Checking for orphaned files ...
Scanning orphaned files completed.
Checking cluster allocation ...
Checking cluster allocation bitmap ...
Checking $MFT bitmap ...
Space in use       : 11 MB (0.5%)
Done NTFS checking and repair on device '/dev/sda4'.
Syncing device ...
 

А вод формат нет, (может не правильно команду ввожу)

Скрытый текст

(config)> opkg ntfs format baa:
formatting device "/dev/sda4" to NTFS filesystem ...

Opkg::Command::FsFormatTool error[268239063]: system failed [0xcffd00d7].
 

 

Link to comment
Share on other sites

FAT32 проверка:

Скрытый текст

(config)> no system mount BAA:
FileSystem::Repository: "BAA:" unmounted.
(config)> opkg fat check BAA:
checking FAT filesystem on device "5EEB-0B3B:" / "BAA" ("/dev/sda1") ...
CP437: Invalid argument
fsck.fat 4.1 (2017-01-24)
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkfs.fat"
Media byte 0xf8 (hard disk)
       512 bytes per logical sector
      4096 bytes per cluster
        32 reserved sectors
First FAT starts at byte 16384 (sector 32)
         2 FATs, 32 bit entries
   7897088 bytes per FAT (= 15424 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 15810560 (sector 30880)
   1974252 data clusters (8086536192 bytes)
62 sectors/track, 250 heads
      2048 hidden sectors
  15824896 sectors total
Starting check/repair pass.
Reclaiming unconnected clusters.
Reclaimed 256 unused clusters (1048576 bytes) in 1 chain.
Checking free cluster summary.
Starting verification pass.
Checking for unused clusters.
Performing changes.
/dev/sda1: 2 files, 257/1974252 clusters
 

FAT32 формат:

Скрытый текст

(config)> opkg fat format BAA:
formatting device "/dev/sda1" to FAT filesystem ...
mkfs.fat 4.1 (2017-01-24)
Auto-selecting FAT32 for large filesystem
/dev/sda1 has 250 heads and 62 sectors per track,
hidden sectors 0x0800;
logical sector size is 512,
using 0xf8 media descriptor, with 15824896 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 15424 sectors, and provides 1974252 clusters.
There are 32 reserved sectors.
Volume ID is 6a3509e9, volume label FAT-6BB6D4 .
process terminated
 

 

Link to comment
Share on other sites

exFAT, что то не захотел монтироваться(возможно я его не умею готовить):

Скрытый текст
Май 3 17:47:14
 
kernel
usb 1-2: USB disconnect, device number 13
Май 3 17:47:17
 
kernel
usb 1-1: new high-speed USB device number 14 using xhci-hcd
Май 3 17:47:17
 
kernel
usb 1-1: New USB device found, idVendor=058f, idProduct=6387
Май 3 17:47:17
 
kernel
usb 1-1: Product: Mass Storage Device
Май 3 17:47:17
 
kernel
usb 1-1: Manufacturer: Generic
Май 3 17:47:17
 
kernel
usb 1-1: SerialNumber: 8KZZCY6K
Май 3 17:47:17
 
kernel
usb-storage 1-1:1.0: Quirks match for vid 058f pid 6387: 400
Май 3 17:47:17
 
kernel
scsi12 : usb-storage 1-1:1.0
Май 3 17:47:20
 
kernel
scsi 12:0:0:0: Direct-Access JetFlash TS2GJF2A/120 8.07 PQ: 0 ANSI: 2
Май 3 17:47:20
 
kernel
sd 12:0:0:0: Attached scsi generic sg0 type 0
Май 3 17:47:20
 
kernel
sd 12:0:0:0: [sda] 4014078 512-byte logical blocks: (2.05 GB/1.91 GiB)
Май 3 17:47:20
 
kernel
sd 12:0:0:0: [sda] Write Protect is off
Май 3 17:47:20
 
kernel
sd 12:0:0:0: [sda] Mode Sense: 03 00 00 00
Май 3 17:47:20
 
kernel
sd 12:0:0:0: [sda] No Caching mode page found
Май 3 17:47:20
 
kernel
sd 12:0:0:0: [sda] Assuming drive cache: write through
Май 3 17:47:20
 
kernel
sd 12:0:0:0: [sda] No Caching mode page found
Май 3 17:47:20
 
kernel
sd 12:0:0:0: [sda] Assuming drive cache: write through
Май 3 17:47:20
 
kernel
sda: sda1
Май 3 17:47:20
 
kernel
sd 12:0:0:0: [sda] No Caching mode page found
Май 3 17:47:20
 
kernel
sd 12:0:0:0: [sda] Assuming drive cache: write through
Май 3 17:47:20
 
kernel
sd 12:0:0:0: [sda] Attached SCSI removable disk
Май 3 17:47:20
 
ndm
FileSystem::Ext: "/dev/sda" has an unknown partition type, ignored.
Май 3 17:47:20
 
ndm
FileSystem::Volume::ExFat: found filesystem without label.
Май 3 17:47:20
 
ndm
FileSystem::Ext: a filesystem with the same label (NO NAME, ) already mounted.
Май 3 17:47:20
 
ndm
FileSystem::Repository: failed to create a new filesystem.

Форматировал флешку так:

Скрытый текст

~$ sudo mkfs -t exfat /dev/sdc1
[sudo] пароль для andreba:        
mkexfatfs 1.2.8
Creating... done.
Flushing... done.
File system created successfully.
 

 

Edited by AndreBA
Link to comment
Share on other sites

16 минут назад, AndreBA сказал:

FAT32 проверка:

  Скрыть содержимое

(config)> no system mount BAA:
FileSystem::Repository: "BAA:" unmounted.
(config)> opkg fat check BAA:
checking FAT filesystem on device "5EEB-0B3B:" / "BAA" ("/dev/sda1") ...
CP437: Invalid argument
fsck.fat 4.1 (2017-01-24)
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "mkfs.fat"
Media byte 0xf8 (hard disk)
       512 bytes per logical sector
      4096 bytes per cluster
        32 reserved sectors
First FAT starts at byte 16384 (sector 32)
         2 FATs, 32 bit entries
   7897088 bytes per FAT (= 15424 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 15810560 (sector 30880)
   1974252 data clusters (8086536192 bytes)
62 sectors/track, 250 heads
      2048 hidden sectors
  15824896 sectors total
Starting check/repair pass.
Reclaiming unconnected clusters.
Reclaimed 256 unused clusters (1048576 bytes) in 1 chain.
Checking free cluster summary.
Starting verification pass.
Checking for unused clusters.
Performing changes.
/dev/sda1: 2 files, 257/1974252 clusters
 

FAT32 формат:

  Скрыть содержимое

(config)> opkg fat format BAA:
formatting device "/dev/sda1" to FAT filesystem ...
mkfs.fat 4.1 (2017-01-24)
Auto-selecting FAT32 for large filesystem
/dev/sda1 has 250 heads and 62 sectors per track,
hidden sectors 0x0800;
logical sector size is 512,
using 0xf8 media descriptor, with 15824896 sectors;
drive number 0x80;
filesystem has 2 32-bit FATs and 8 sectors per cluster.
FAT size is 15424 sectors, and provides 1974252 clusters.
There are 32 reserved sectors.
Volume ID is 6a3509e9, volume label FAT-6BB6D4 .
process terminated
 

 

Тут все хорошо.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...