Jasaida
asked on
error to add hd to ubuntu 16.04
i try to add a disk to ubuntu.
i used this help
https://askubuntu.com/questions/829392/expand-lvm-logical-volume-on-virtual-machine
now i add a new one. it should be on /dev/sde.
i can't see it on pvdisplay and when try tp fdisk /dev/de1
it says you can create a dos partition.
Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0xbc6fc5e9.
HELP PLEASE
i used this help
https://askubuntu.com/questions/829392/expand-lvm-logical-volume-on-virtual-machine
now i add a new one. it should be on /dev/sde.
i can't see it on pvdisplay and when try tp fdisk /dev/de1
it says you can create a dos partition.
Device does not contain a recognized partition table. Created a new DOS disklabel with disk identifier 0xbc6fc5e9.
HELP PLEASE
use fdisk /dev/sde
then create a partition table
then mkfs.ext4 -f /dev/sde1
then follow this link to add into LVM
https://www.techrunnr.com/create-lvm-in-ec2-aws/
and create entry in /etc/fstab for permanent mount
then create a partition table
then mkfs.ext4 -f /dev/sde1
then follow this link to add into LVM
https://www.techrunnr.com/create-lvm-in-ec2-aws/
and create entry in /etc/fstab for permanent mount
ASKER
no i can't.
i fund selv the problem. it's because of memory when der is a only 400M back of disk and memory, swap (is in disk) then
problem has nothing to do with partitions. The fdisk warnings about entries not being in disk order.
i fund selv the problem. it's because of memory when der is a only 400M back of disk and memory, swap (is in disk) then
problem has nothing to do with partitions. The fdisk warnings about entries not being in disk order.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
After that, you must still mkfs the file system.
And don't forget that linux is not like Windows -- linux does not mount disks automatically. If the disk will be permanently connected then you must add an entry to /etc/fstab; if it will be connected and disconnected you must mount it manually.