系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
寺島聰子
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
#1
帖子
由 寺島聰子 » 2019-01-29 18:16
/dev/sda1をリサイズして縮小し、後方の空き領域を/dev/sda6に割り当てて拡大したいです。
ところが、この操作を適用しますと、resize2fs new size smaller than minimum(10592494)
というメッセージが出て、失敗します。どうしたらよいでしょうか?
我想調整/ dev / sda 1的大小,減少它,並將後向可用空間分配給/ dev / sda 6並展開它。
但是,如果應用此操作,則resize2fs新大小小於最小值(10592494)
我收到一條消息說我會失敗。 我該怎麼辦?

-
附件
-

-

-
寺島聰子
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
#2
帖子
由 寺島聰子 » 2019-01-29 21:55
~$ resize2fs -f /dev/sda1 32890M
resize2fs 1.44.1 (24-Mar-2018)
open: 許可がありません while opening /dev/sda1
~$ sudo resize2fs -f /dev/sda1 32890M
[sudo] maron のパスワード:
resize2fs 1.44.1 (24-Mar-2018)
Resizing the filesystem on /dev/sda1 to 8419840 (4k) blocks.
resize2fs: デバイスに空き領域がありません while trying to resize /dev/sda1
Please run 'e2fsck -fy /dev/sda1' to fix the filesystem
after the aborted resize operation.
~$ e2fsck -fy /dev/sda1
e2fsck 1.44.1 (24-Mar-2018)
e2fsck: 許可がありません while trying to open /dev/sda1
You must have r/w access to the filesystem or be root
~$ sudo e2fsck -fy /dev/sda1
e2fsck 1.44.1 (24-Mar-2018)
Pass 1: Checking iノードs, blocks, and sizes
Iノード 8 extent tree (at level 1) could be narrower. 修正? yes
Pass 2: Checking ディレクトリ structure
Pass 3: Checking ディレクトリ connectivity
Pass 4: Checking reference counts
Pass 5: Checking グループ summary information
mint2: 2648453/2867200 files (0.1% non-contiguous), 4867642/11439872 blocks
~$ sudo resize2fs -f /dev/sda1 32890M
resize2fs 1.44.1 (24-Mar-2018)
Resizing the filesystem on /dev/sda1 to 8419840 (4k) blocks.
resize2fs: デバイスに空き領域がありません while trying to resize /dev/sda1
Please run 'e2fsck -fy /dev/sda1' to fix the filesystem
after the aborted resize operation.
~$
-
寺島聰子
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
#3
帖子
由 寺島聰子 » 2019-02-01 16:05
gparted_details.htm の内容です。問題未解決です。よろしくお願いします。
GParted 0.30.0 --enable-libparted-dmraid --enable-online-resize
Libparted 3.2
/dev/sda1 を 43.64 GiB から 36.05 GiB へ縮小 00:01:04 ( エラー )
/dev/sda1 を補正 00:00:02 ( 成功 )
path: /dev/sda1 (partition)
開始位置: 2048
終了位置: 91521023
容量: 91518976 (43.64 GiB)
/dev/sda1 のファイルシステムのエラーをチェックし (可能であれば)修復する 00:01:02 ( 成功 )
e2fsck -f -y -v -C 0 '/dev/sda1' 00:01:02 ( 成功 )
Pass 1: Checking iノードs, blocks, and sizes
Iノード 8 extent tree (at level 1) could be narrower. 修正? yes
Pass 2: Checking ディレクトリ structure
Pass 3: Checking ディレクトリ connectivity
Pass 4: Checking reference counts
Pass 5: Checking グループ summary information
2648453 inodes used (92.37%, out of 2867200)
1018 non-contiguous files (0.0%)
549 non-contiguous directories (0.0%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 2598450/241/3
4867642 blocks used (42.55%, out of 11439872)
0 bad blocks
1 large file
2545330 regular files
51215 directories
57 character device files
25 block device files
1 fifo
23 links
51172 symbolic links (49024 fast symbolic links)
644 sockets
------------
2648467 files
e2fsck 1.44.1 (24-Mar-2018)
ファイルシステムを縮小する 00:00:00 ( エラー )
resize2fs -p '/dev/sda1' 37796864K 00:00:00 ( エラー )
resize2fs 1.44.1 (24-Mar-2018)
resize2fs: New size smaller than minimum (10592494)
========================================
-
寺島聰子
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
#5
帖子
由 寺島聰子 » 2019-02-05 18:37
2箇所ほど不良セクタのあるハードディスクで、それと関係するのでしょうか?
いちおう、mint とPeppermint9 両方起動します
Is it related to that with two hard disks with bad sectors?
I will start both mint and Peppermint 9
-
寺島聰子
- 帖子: 688
- 注册时间: 2016-06-03 14:39
- 系统: debian11 mate
#6
帖子
由 寺島聰子 » 2019-02-05 19:39
Is it related to that with a hard disk with two bad sectors?
but, I can start both mint and Peppermint 9
Why can I not mount it?