AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-764765

r45i's questions

Martin Hope
r45i
Asked: 2022-06-16 01:15:55 +0800 CST

为什么会有多个 LUKS 分区?

  • 1

我是使用 LUKS 的新手。成功安装后,/dev/sda我不明白/dev/sda1, /dev/sda2硬盘上的分区代表什么。我希望看到唯一的一个加密分区。

解密前,/dev/sda结构如下:

❯ lsblk
NAME                   MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                      8:0    0   1.8T  0 disk
├─sda1                   8:1    0 168.8G  0 part
└─sda2                   8:2    0 717.4G  0 part

解密后:

❯ sudo cryptsetup open /dev/sda silverbox
❯ lsblk
NAME                   MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda                      8:0    0   1.8T  0 disk
├─sda1                   8:1    0 168.8G  0 part
├─sda2                   8:2    0 717.4G  0 part
└─silverbox            253:3    0   1.8T  0 crypt

❯ lsblk --fs
NAME                   FSTYPE      LABEL UUID                                   FSAVAIL FSUSE% MOUNTPOINT
sda                    crypto_LUKS       42a9febd-2d7b-4c12-b92a-4e1ec6a1b5a5
├─sda1
├─sda2
└─silverbox            ext4              b692ba9b-ad36-4689-9b17-5b03af684130      1.6T     7% /media/vol/b692ba9b-ad36-4689-9b17-5b03af684130

silverbox是一个1.8TB的专用数据分区。168.8G和717,4G分区的目的是什么?

为什么它们的总大小不是 1.8TB?

luks
  • 1 个回答
  • 111 Views
Martin Hope
r45i
Asked: 2022-02-21 11:29:43 +0800 CST

lspci 显示没有名称的设备,但它在具有相同内核的其他操作系统版本上显示

  • 2

我在安装带有lspci无法识别设备的内核 5.13 的 Kubuntu 20.04 后发现。现在看起来是这样的:

$ lspci
0:00.0 Host bridge: Intel Corporation Device 9a14 (rev 01)
00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)
00:04.0 Signal processing controller: Intel Corporation Device 9a03 (rev 01)
00:06.0 PCI bridge: Intel Corporation Device 9a09 (rev 01)
00:07.0 PCI bridge: Intel Corporation Device 9a23 (rev 01)
00:07.2 PCI bridge: Intel Corporation Device 9a27 (rev 01)
00:08.0 System peripheral: Intel Corporation Device 9a11 (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Device 9a0d (rev 01)
00:0d.0 USB controller: Intel Corporation Device 9a13 (rev 01)
00:0d.2 USB controller: Intel Corporation Device 9a1b (rev 01)
00:0d.3 USB controller: Intel Corporation Device 9a1d (rev 01)
00:12.0 Serial controller: Intel Corporation Device a0fc (rev 20)
00:14.0 USB controller: Intel Corporation Device a0ed (rev 20)
00:14.2 RAM memory: Intel Corporation Device a0ef (rev 20)
00:14.3 Network controller: Intel Corporation Device a0f0 (rev 20)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device a0e8 (rev 20)
00:15.1 Serial bus controller [0c80]: Intel Corporation Device a0e9 (rev 20)
00:16.0 Communication controller: Intel Corporation Device a0e0 (rev 20)
00:19.0 Serial bus controller [0c80]: Intel Corporation Device a0c5 (rev 20)
00:19.1 Serial bus controller [0c80]: Intel Corporation Device a0c6 (rev 20)
00:1d.0 PCI bridge: Intel Corporation Device a0b3 (rev 20)
00:1f.0 ISA bridge: Intel Corporation Device a082 (rev 20)
00:1f.3 Multimedia audio controller: Intel Corporation Device a0c8 (rev 20)
00:1f.4 SMBus: Intel Corporation Device a0a3 (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device a0a4 (rev 20)

值得注意的是,当我使用内核 5.13 安装和测试 Kubuntu 21.10 时,它们被正确识别。

什么可能是错误的,它会影响操作系统的功能吗?

intel
  • 1 个回答
  • 297 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve