我有两个问题。
1-我的内部硬盘总共不是 230GB。我也想扩展和使用剩余的内部硬盘。我该怎么做?
2- 几周前,我无意识地移除或卸载了可移动硬盘。我看到它就像一直插在我的电脑上一样,但事实并非如此。它在物理上没有插入。我想让它消失并在插入时看到它。
这是我的一些输出。
tayfun@tayfun-G3-3579:~$ sudo fdisk -l
Disk /dev/loop0: 54,4 MiB, 57069568 bytes, 111464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 407,1 MiB, 426876928 bytes, 833744 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 89 MiB, 93327360 bytes, 182280 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 88,7 MiB, 92983296 bytes, 181608 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 407,2 MiB, 426958848 bytes, 833904 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 42,8 MiB, 44879872 bytes, 87656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 54,4 MiB, 57065472 bytes, 111456 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop7: 201,3 MiB, 211075072 bytes, 412256 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/nvme0n1: 238,5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A564F949-BDD2-4CF1-853E-031C086D872B
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 500117503 499066880 238G Linux filesystem
Disk /dev/sda: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 7C9BFAC9-B57D-41A0-B2D3-02AF97BF54F8
Device Start End Sectors Size Type
/dev/sda1 2048 1953523711 1953521664 931,5G Linux filesystem
Disk /dev/loop8: 35,3 MiB, 37027840 bytes, 72320 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop9: 193,1 MiB, 202481664 bytes, 395472 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
df-h
tayfun@tayfun-G3-3579:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 7,8G 0 7,8G 0% /dev
tmpfs 1,6G 2,1M 1,6G 1% /run
/dev/nvme0n1p2 234G 220G 1,4G 100% /
tmpfs 7,8G 374M 7,4G 5% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 7,8G 0 7,8G 0% /sys/fs/cgroup
/dev/nvme0n1p1 511M 31M 481M 7% /boot/efi
/dev/loop1 408M 408M 0 100% /snap/redis-desktop-manager/328
/dev/loop0 55M 55M 0 100% /snap/core18/1098
/dev/loop2 90M 90M 0 100% /snap/core/7713
/dev/loop4 408M 408M 0 100% /snap/redis-desktop-manager/327
/dev/loop5 43M 43M 0 100% /snap/gtk-common-themes/1313
/dev/loop3 89M 89M 0 100% /snap/core/7396
/dev/loop6 55M 55M 0 100% /snap/core18/1144
/dev/loop8 36M 36M 0 100% /snap/gtk-common-themes/1198
/dev/loop7 202M 202M 0 100% /snap/hiri/56
tmpfs 1,6G 56K 1,6G 1% /run/user/1002
/dev/loop9 194M 194M 0 100% /snap/mailspring/374
/dev/sda1 916G 77M 870G 1% /media/tayfun/af7ac763-b0ca-4314-a066-cfc45995129d
LSBLK
tayfun@tayfun-G3-3579:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 54,4M 1 loop /snap/core18/1098
loop1 7:1 0 407,1M 1 loop /snap/redis-desktop-manager/328
loop2 7:2 0 89M 1 loop /snap/core/7713
loop3 7:3 0 88,7M 1 loop /snap/core/7396
loop4 7:4 0 407,2M 1 loop /snap/redis-desktop-manager/327
loop5 7:5 0 42,8M 1 loop /snap/gtk-common-themes/1313
loop6 7:6 0 54,4M 1 loop /snap/core18/1144
loop7 7:7 0 201,3M 1 loop /snap/hiri/56
loop8 7:8 0 35,3M 1 loop /snap/gtk-common-themes/1198
loop9 7:9 0 193,1M 1 loop /snap/mailspring/374
sda 8:0 0 931,5G 0 disk
└─sda1 8:1 0 931,5G 0 part /media/tayfun/af7ac763-b0ca-4314-a066-cfc45995129d
nvme0n1 259:0 0 238,5G 0 disk
├─nvme0n1p1 259:1 0 512M 0 part /boot/efi
└─nvme0n1p2 259:2 0 238G 0 part /
答案1
/dev/nvme0n1
是 NVMe SSD,而不是 HDD。如果没有物理插入外部硬盘(上次重新启动系统时也没有插入),/dev/sda
那么可能是您的内部硬盘。
“1 TB HDD 和 256 GB SSD”是否与您的硬件的销售描述相符? (238.5 GiB = 256 GB,931.5 GiB = 1000 GB = 1 TB)
操作系统不一定知道特定的 HDD 是内部的还是外部的:因为它显然是使用某种类型的 Linux 文件系统初始化的,但操作系统未使用它,因此您的桌面环境可能会自动将其安装/media/<your username>/<filesystem UUID>
在假设它是外部可移动磁盘...这个假设可能不正确。
您可能不小心只在 SSD 上安装了 Linux 操作系统,而完全未使用 HDD。
答案2
它已安装在安装点 /media/tayfun/af7ac763-b0ca-4314-a066-cfc45995129d 上。