在virtualboxbox系统中出现错误信息“sda访问超出设备末端 virtualsda访问超出设备末端”是什么意思?

在virtualboxbox系统中出现错误信息“sda访问超出设备末端 virtualsda访问超出设备末端”是什么意思?

今天我尝试关闭我的一个 VirtualBox 系统,几分钟后我又一次遇到了同样的错误。然后我就强制关机了。

我记得我把那个分区从 50G 调整到了 100G。看起来它确实resize2fs运行正常。我想知道的是如何测试分区大小是否正确?没有 LVM。我只有一个分区(/dev/sda2),虽然 grub 在 中使用了一些东西/dev/sda1

我能够在 kill 之后成功关机,因为我想用 进行测试fsck。但这没有给我任何信息。它说一切都很好。我还用 GParted 检查了一下,一切看起来都很好……

文件系统是ext4。

以下是 GParted 的输出查看命令:

GParted 1.3.1

configuration --enable-libparted-dmraid --enable-online-resize

libparted 3.4

========================================
Device: /dev/sda
Model:  ATA VBOX HARDDISK
Serial: VBcf2fb2fe-c06ce5e1
Sector size:    512
Total sectors:  209715200
 
Heads:  255
Sectors/track:  2
Cylinders:  411206
 
Partition table:    gpt
 
Partition   Type    Start         End       Flags       File System Label   Mount Point
/dev/sda1   Primary  2048        4095       bios_grub   grub2 core.img      
/dev/sda2   Primary 4 096   209713151                   ext4        

========================================
Check and repair file system (ext4) on /dev/sda2  00:00:06    ( SUCCESS )
        
calibrate /dev/sda2  00:00:00    ( SUCCESS )
        
path: /dev/sda2 (partition)
start: 4096
end: 209713151
size: 209709056 (100.00 GiB)
check file system on /dev/sda2 for errors and (if possible) fix them  00:00:06    ( SUCCESS )
        
e2fsck -f -y -v -C 0 '/dev/sda2'  00:00:06    ( SUCCESS )
        
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

190379 inodes used (2.90%, out of 6553600)
2046 non-contiguous files (1.1%)
172 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 183008/217
10998005 blocks used (41.96%, out of 26213632)
0 bad blocks
4 large files

152650 regular files
30353 directories
7 character device files
0 block device files
0 fifos
123 links
7359 symbolic links (7138 fast symbolic links)
1 socket
------------
190493 files
e2fsck 1.46.2 (28-Feb-2021)
grow file system to fill the partition  00:00:00    ( SUCCESS )
        
resize2fs -p '/dev/sda2'  00:00:00    ( SUCCESS )
        
resize2fs 1.46.2 (28-Feb-2021)
The filesystem is already 26213632 (4k) blocks long. Nothing to do!

知道为什么会发生错误以及我的数据是否存在风险吗?

相关内容