我刚刚安装了 22.04 Server。这台机器有 512G SDD。安装时我选择使用整个磁盘。我安装了典型的 LAMP 服务器,将 WP 放在上面摆弄,然后安装了 Samba 并在我的另一台 Ubuntu 桌面(20.04)上让它运行。我还没有在她的笔记本电脑上试过,但我到时候会解决的。我正在将一些东西从我的电脑移到服务器上,我注意到它显示共享目录只有 105G。
这台机器的主要用途是存储我妻子笔记本电脑上多年来的照片和视频(约 301GB)(以及我的机器,以释放一些空间)。它很旧,正在慢慢损坏。我们不想丢失孩子们的照片和视频和其他东西。
我不知道我是否做错了什么。samba 共享的路径是/svr/samba/Public_Share
。
我恭敬地向你们这些大师们请教。我需要一些关于这个的指导。
输出如下df -H
:
$df -H
Filesystem Size Used Avail Use% Mounted on
tmpfs 800M 13M 787M 2% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 106G 15G 86G 15% /
tmpfs 4.0G 0 4.0G 0% /dev/shm
tmpfs 5.3M 0 5.3M 0% /run/lock
/dev/nvme0n1p2 2.1G 137M 1.8G 8% /boot
/dev/nvme0n1p1 1.2G 6.4M 1.2G 1% /boot/efi
tmpfs 800M 4.1k 800M 1% /run/user/1000
输出如下fdisk -l
:
Disk /dev/loop0: 63.45 MiB, 66531328 bytes, 129944 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: 111.95 MiB, 117387264 bytes, 229272 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: 53.26 MiB, 55844864 bytes, 109072 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: 40.84 MiB, 42827776 bytes, 83648 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: 63.46 MiB, 66547712 bytes, 129976 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: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: KBG50ZNV512G KIOXIA
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: 5265B0EC-CF6B-41D8-BA96-FEB2E781AAC0
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 2203647 2201600 1G EFI System
/dev/nvme0n1p2 2203648 6397951 4194304 2G Linux filesystem
/dev/nvme0n1p3 6397952 1000212479 993814528 473.9G Linux filesystem <<< (LOOK AT THIS!)
Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 100 GiB, 107374182400 bytes, 209715200 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
这表明我有474G空间那么它在哪里?或者,我应该把那个 Samba 共享放在哪里?我现在很困惑……