I have a Dell T320 Server. It is running on a RAID 10 disk array with LVM. I am trying to mount shares in Ubuntu 20.04
I am trying to set up a server for rebuilding my home network. I have Ubuntu 20.04 booting with the following drive setup:
Dell T320 Server
sudo fdisk -l
Disk /dev/loop0: 89.1 MiB, 93417472 bytes, 182456 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: 38.7 MiB, 40583168 bytes, 79264 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: 93.9 MiB, 98484224 bytes, 192352 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: 9.1 MiB, 9510912 bytes, 18576 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/sda: 3.7 TiB, 3998614552576 bytes, 7809794048 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 label type: gpt
Disk identifier: 926321AB-FFBB-44F1-91CA-C1ACDD4C4A5D
Device Start End Sectors Size Type
/dev/sda1 2048 10506231 1048576 512M EFI System
/dev/sda2 1050624 3147775 2097152 1G Linux filesystem
/dev/sda3 3147776 7809791999 7806644224 3.7T Linux filesystem
Disk /dev/mapper/ubuntu--vg-ubuntu-lv: 4 GiB, 4294967296 bytes, 8388608 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/mapper/ubuntu--vg-LV1: 200 GiB, 214748364800 bytes, 419430400 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/mapper/ubuntu--vg-LV2: 300 GiB, 322122547200 bytes, 129145600 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
sudo blkid
/dev/sda1: UUID=xxxx-xxxx TYPE=vfat PARTUUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
/dev/sda2: UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx TYPE=ext4PARTLABEL=UbuntuLTS
PARTUUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx
/dev/sda3: UUID=xxxxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxxxx TYPE=LVM2_member
PARTLABEL=shares PARTUUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
/dev/mapper/ubuntu--vg-ubuntu--lv: UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx TYPE=ext4
/dev/mapper/ubuntu--vg-LV1: UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx TYPE=ext4
/dev/mapper/ubuntu--vg-LV2: UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx TYPE=ext4
/dev/loop0: TYPE=squashfs
/dev/loop1: TYPE=squashfs
/dev/loop1: TYPE=squashfs
/dev/loop3: TYPE=squashfs
cat /etc/fstab
# /etc/fstab: static file system information
. . .
# <file system> <mount point> <type> <options> <dump> <pass>
# was on /dev/ubuntu-vg/ubuntu-lv during curtain installation
/dev/disk/by-id/dm-uuid-LVM-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx / ext4 defaults 0 0
# boot was on /dev/sda2 during curtain installation
/dev/disk/by uuid/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx /boot ext4 defaults 0 0
# /boot/efi was on /dev/sda1 during curtain installation
/dev/disk/by uuid/xxxxxxxxxx /boot/efi vfat defaults 0 0
/swap.img none swap sw 0 0
My question is: Why cant I see the LV1 and LV2 shares? Do I need to add something else to fstab?
I am trying to set up a server for rebuilding my home network. I have Ubuntu 20.04 booting with the following drive setup:
Dell T320 Server
sudo fdisk -l
Disk /dev/loop0: 89.1 MiB, 93417472 bytes, 182456 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: 38.7 MiB, 40583168 bytes, 79264 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: 93.9 MiB, 98484224 bytes, 192352 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: 9.1 MiB, 9510912 bytes, 18576 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/sda: 3.7 TiB, 3998614552576 bytes, 7809794048 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 label type: gpt
Disk identifier: 926321AB-FFBB-44F1-91CA-C1ACDD4C4A5D
Device Start End Sectors Size Type
/dev/sda1 2048 10506231 1048576 512M EFI System
/dev/sda2 1050624 3147775 2097152 1G Linux filesystem
/dev/sda3 3147776 7809791999 7806644224 3.7T Linux filesystem
Disk /dev/mapper/ubuntu--vg-ubuntu-lv: 4 GiB, 4294967296 bytes, 8388608 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/mapper/ubuntu--vg-LV1: 200 GiB, 214748364800 bytes, 419430400 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/mapper/ubuntu--vg-LV2: 300 GiB, 322122547200 bytes, 129145600 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
sudo blkid
/dev/sda1: UUID=xxxx-xxxx TYPE=vfat PARTUUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
/dev/sda2: UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx TYPE=ext4PARTLABEL=UbuntuLTS
PARTUUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx
/dev/sda3: UUID=xxxxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxxxx TYPE=LVM2_member
PARTLABEL=shares PARTUUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
/dev/mapper/ubuntu--vg-ubuntu--lv: UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx TYPE=ext4
/dev/mapper/ubuntu--vg-LV1: UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx TYPE=ext4
/dev/mapper/ubuntu--vg-LV2: UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx TYPE=ext4
/dev/loop0: TYPE=squashfs
/dev/loop1: TYPE=squashfs
/dev/loop1: TYPE=squashfs
/dev/loop3: TYPE=squashfs
cat /etc/fstab
# /etc/fstab: static file system information
. . .
# <file system> <mount point> <type> <options> <dump> <pass>
# was on /dev/ubuntu-vg/ubuntu-lv during curtain installation
/dev/disk/by-id/dm-uuid-LVM-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx / ext4 defaults 0 0
# boot was on /dev/sda2 during curtain installation
/dev/disk/by uuid/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx /boot ext4 defaults 0 0
# /boot/efi was on /dev/sda1 during curtain installation
/dev/disk/by uuid/xxxxxxxxxx /boot/efi vfat defaults 0 0
/swap.img none swap sw 0 0
My question is: Why cant I see the LV1 and LV2 shares? Do I need to add something else to fstab?