只有专家才能解决这个问题

只有专家才能解决这个问题

我尝试将我的/dev/sdcHDD 安装到/home

然后我尝试创建一个符号链接,/home因为我的 sdc HDD 是 16tb。

基本上,我得到了我想要的,但现在一切都变得复杂了:

  • wget不起作用。
  • apt-get更新無效。
  • 谁知道还有什么不起作用。

我需要找到一个解决方案,以便可以应用将来的更新。


这是 fstab:

proc /proc proc defaults 0 0
# /dev/sdal
UUID=309fe0b5-68aa-4e85-92ed-45b616633e42 none swap sw 0 0
# /dev/ada2
UUID-359498b4-1260-4308-b4a8-db49d45a44d4 /boot ext3 defaults 0 0
#/dev/sda3
UUID-dab2de9e-0047-44b9-873a-dd18791a7925 / ext4 defaults 0 0 
#/dev/ada4
UUID-croar554-93ea-437d-98ed-ed749cf94049 /home ext4 defaults 0 0
tmpts /home/xtreamcodes/iptv_xtream_codes/streams tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=90% 0 0
tmpfs /home/xtreamcodea/iptv_xtream_codes/tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=2G 0 0
# /dev/sdc   /home    ext4          nodev, nosuid       0       2

这是我的lsblkdf -h

root@Ubuntu-1804-bionic-64-minimal /mnt/data2 # lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda      8:0    0  3.7T  0 disk
├─sda1   8:1    0   32G  0 part [SWAP]
├─sda2   8:2    0    1G  0 part /boot
├─sda3   8:3    0    2T  0 part /
├─sda4   8:4    0  1.7T  0 part /home
└─sda5   8:5    0    1M  0 part
sdb      8:16   0  3.7T  0 disk /mnt/data
sdc      8:32   0 14.6T  0 disk /mnt/data2

root@Ubuntu-1804-bionic-64-minimal /mnt/data2 # df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             32G     0   32G   0% /dev
tmpfs           6.3G  752K  6.3G   1% /run
/dev/sdc        2.0T  740G  1.2T  40% /
tmpfs            32G   16K   32G   1% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs            32G     0   32G   0% /sys/fs/cgroup
/dev/sdc         15T  2.7T   12T  20% /home
/dev/sda2       975M  149M  775M  17% /boot
tmpfs           6.3G     0  6.3G   1% /run/user/0
/dev/sdb        3.6T  3.1T  394G  89% /mnt/data

root@Ubuntu-1804-bionic-64-minimal /mnt/data2 # 


                                                         Activate Windows
                                                         Go to Settings to activate Windows.

错误# apt-get update

zoot@Ubuntu-1804-bionic-64-minimal ~ # apt-get update
Err:1 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic
  Could not resolve " pps.launchpad.net "
Err:2 http://mirror.hetzner.de/ubuntu/packages bionic InRelease 
  Could not resolve " mirror.hetzner.de "
Err:3 http://de.archive.ubuntu.com/ubuntu bionic InRelease
  Could not resolve "de.archive, ubuntu.com "
Err:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
  Could not resolve 'security.ubuntu.com
Err:5 http://mirror.hetzner.de/ubuntu/packages bionic-backports InRelease
  Could not resolve 'mirror.hetzner.de'
Err:6 http://de.archive.ubuntu.com/ubuntu bionic-updates InRelease
  Could not resolve 'de.archive.ubuntu.com'
Err:7 http://de.archive.ubuntu.com/ubuntu bionic-backports InRelease
  Could not resolve 'de.archive.ubuntu.com'
Err:8 http://mirror.hetzner.de/ubuntu/packages bionic-mecurity InRelease
  Could not resolve 'mirror.hetrner.de'
Err:9 http://mirror.hetzner.de/ubuntu/packages bionic-updates InRelease
  Could not resolve 'mirror.hetzner.de'
Reading package lists... Done
W: Failed to fetch http://mirror.hetzner.de/ubuntu/packagea/dists/bionic/InRelease Could not resolve 'mirror.hetzner.de'
W: Failed to fetch http://mirror.hetzner.de/ubuntu/packagea/dists/bionic-backports/InRelease Could not resolve 'mirror.hetzner.de'
W: Failed to fetch http://mirror.hetzner.de/ubuntu/packagea/dists/bionic-security/InRelease Could not resolve 'mirror.hetzner.de'
W: Failed to fetch http://mirror.hetzner.de/ubuntu/packagea/dists/bionic-updates/InRelease Could not resolve 'mirror.hetzner.de'
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not resolve 'de.archive.ubuntu.com'
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Could not resolve 'de.archive.ubuntu.com'
W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Could not resolve 'de.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease Could not resolve 'security.ubuntu.com'
W: Failed to fetch http://ppa.launchpad.net/deadsnakes/ppa/ubuntu/dists/bionic/InRelease Could not resolve 'ppa.launchpad.net'

zoot@Ubuntu-1804-bionic-64-minimal ~ # 

                                                         Activate Windows
                                                         Go to Settings to activate Windows.

错误wget

root@Ubuntu-1804-bionic-64-minimal ~ # wget
wget: missing URL
Usage: wget [OPTION]... [URL]...

Try 'wget --help" for more options.

zoot@Ubuntu-1804-bionic-64-minimal ~ # wget https://od.lk/d/MIFfMzY4N134HDRf/Darlin%20%20%282019%29%20%5BDarlin%20%20%282019%29%5D.mp4
--2023-08-31 22:43:22-- https://od.1k/a/h1fcнаt4иjmWnDRE/Darlin%20%20%282019%29%20%5BDarlin%20%20%282019%29%5D.mp4
Resolving od.lk (od.lk)… failed: Name or service not known.
wget: unable to resolve host address `od.lk’

zoot@Ubuntu-1804-bionic-64-minimal ~ #


                                                         Activate Windows
                                                         Go to Settings to activate Windows.

答案1

不要对主页进行符号链接 - 这是您的用户,而您的“外部主页”可能有另一个用户。

在您的“原始”主目录中创建一些文件夹,并将您的“外部主目录”挂载到该目录中。

然后,您将把所有 16 TB 的数据放在一个文件夹中,您可以从“主页

相关内容