[ / / / / / / / / / / / / / ] [ dir / agatha2 / doomer / pdfs / tingles / vg / vichan / vietnam / wmafsex ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

Happy GNU/Year!

File (hide): fcb0bdf1d1a466e⋯.jpg (67.51 KB, 465x493, 465:493, 1545683978955.jpg) (h) (u)

[–]

 No.1015249>>1015284 [Watch Thread][Show All Posts]

So I installed Ubuntu (I know)

I set it up with LVM on LUKS for FDE

after the install I looked at my mount points with parted -l and the result was the following:

Model: Linux device-mapper (linear) (dm)

Disk /dev/mapper/ubuntu--vg-swap_1: 1028MB

Sector size (logical/physical): 512B/512B

Partition Table: loop

Disk Flags:

Number Start End Size File system Flags

1 0.00B 1028MB 1028MB linux-swap(v1)

Model: Linux device-mapper (linear) (dm)

Disk /dev/mapper/ubuntu--vg-root: 248GB

Sector size (logical/physical): 512B/512B

Partition Table: loop

Disk Flags:

Number Start End Size File system Flags

1 0.00B 248GB 248GB ext4

what is confusing about this is that both block devices start at zero. so shouldn't root be overwriting swap? wtf is going on here?

 No.1015284

>>1015249 (OP)

I think LVM partitions aren't supposed to have any beginning address. Think about it. In principle any block of data positioned anywhere on the disk can belong to any given partition, which then are arranged into a single device file by the kernel which is exposed to the filesystem. That's the whole point of a volume manager.


 No.1015305

No, they are different files.




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
2 replies | 0 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / agatha2 / doomer / pdfs / tingles / vg / vichan / vietnam / wmafsex ][ watchlist ]