我想知道你怎么知道我系统中最大的文件存储在哪里。
例如 - -
已用磁盘空间:1GB Java:500MB Java 百分比:50% 可以用饼图表示。也许?
我知道这可能是一个功能矫枉过正。我有时会忘记存储东西,并想知道为什么我的磁盘如此满。
所以基本上是一个命令,它将允许我在文件系统上运行并为我提供有关使用的磁盘空间的信息。
谢谢,麻烦您了。
卸载时如何列出磁盘分区?以及如何通过终端安装它们?
我的 Ubuntu PC 用于典型的东西:
我最近安装了 Ubuntu 14.04。在安装过程中,我没有为我的主文件夹创建单独的分区。我还不小心加密了我的主文件夹。当我做
sudo df
Run Code Online (Sandbox Code Playgroud)
我得到的结果是
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-root 455G 181G 251G 42% /
....
Run Code Online (Sandbox Code Playgroud)
为什么这有一个有趣的名字而不是普通的“/dev/sdx”?
请给我解释一下这是什么?
我通过 SSH 访问的屏幕坏了的笔记本电脑。该sudo apt-get autoremove命令给了我以下错误
cp: error writing ‘/tmp/mkinitramfs_zN6ZvT//lib/x86_64-linux-gnu/libpthread.so.0’: No space left on device
cp: failed to extend ‘/tmp/mkinitramfs_zN6ZvT//lib/x86_64-linux-gnu/libpthread.so.0’: No space left on device
cp: error writing ‘/tmp/mkinitramfs_zN6ZvT//sbin/modprobe’: No space left on device
cp: failed to extend ‘/tmp/mkinitramfs_zN6ZvT//sbin/modprobe’: No space left on device
cp: error writing ‘/tmp/mkinitramfs_zN6ZvT//sbin/rmmod’: No space left on device
cp: failed to extend ‘/tmp/mkinitramfs_zN6ZvT//sbin/rmmod’: No space left on device
Run Code Online (Sandbox Code Playgroud)
我从各种其他命令中得到类似的错误,但gparted告诉我笔记本电脑的(单个)分区上剩余超过 20GB 的空间。这是输出df
$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on …Run Code Online (Sandbox Code Playgroud) 我无法启动 Ubuntu 10.04,内置的启动 shell 给出了这个错误:
Gave up waiting for root device. Common problems:
— Boot args (cat /proc/cmdline)
— Check rootdelay= (did the system wait long enough?)
— Check root= (did the system wait for the right device?)
— Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/aa91b9fe-1e27-44d7-9c1b-72dd7d4e8575 does not exist.
Dropping to a shell!
BusyBox v.1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)
Enter 'help' for list of built-in commands.
(initramfs)
Run Code Online (Sandbox Code Playgroud)
更新 1
在我更新2.6.32-26版本内核并直接在 Windows 中启动后发生此错误。
该rootdelay解决方案没有奏效。我的磁盘的 uuid …
我/dev/vdc1在我的机器上卸载了一个磁盘,在我将它格式化为 xfs 文件系统后,我没有再次安装它,或者没有在 fstab 文件中添加足够的行。
现在,当我想挂载此分区,但无法访问它时:mount: can't find dev/vdc1 in /etc/fstab or /etc/mtab. 那么我应该如何放入 fstab 文件以便系统再次识别它?分区被安装在/Data
众所周知,SSD 在 NAND 单元死亡之前的 PE(程序擦除)周期数是有限的。
因此,了解已将多少数据写入您的 SSD 非常有帮助,以确定在 NAND 死亡之前它还能持续多长时间。
我有一个三星 850 Pro 512GB SSD,我运行的是 Ubuntu 14.04。
如何获取驱动器的 TBW(写入的总字节数)?
我的电脑有基于 UEFI 的 BIOS,我想从头开始。
PC 安装了 Windows - 我后来安装了 Ubuntu。
我想完全重新构建我的整个磁盘并仅在其上安装 Ubuntu。
所以这不是关于如何安装Ubuntu,而是关于如何准备磁盘。
什么是最专业的方式,我必须执行哪些任务?
disk ×10
partitioning ×3
command-line ×2
filesystem ×2
10.04 ×1
apt ×1
boot ×1
disk-usage ×1
encryption ×1
fstab ×1
gparted ×1
gpt ×1
hard-drive ×1
hardware ×1
memory ×1
monitoring ×1
mount ×1
ram ×1
ssd ×1
swap ×1