Add external HDD for second HDD on eve-ng
Moderator: mike
-
- Posts: 17
- Joined: Fri Nov 16, 2018 1:48 pm
Add external HDD for second HDD on eve-ng
Hi all,
I have attached an external HDD to my Eve-ng virtual machine but i can't see it is registering within the eve-ng VM see below
Filesystem Size Used Avail Use% Mounted on
udev 9.6G 0 9.6G 0% /dev
tmpfs 2.0G 15M 2.0G 1% /run
/dev/mapper/eve--ng--vg-root 31G 19G 11G 64% /
tmpfs 9.6G 0 9.6G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 9.6G 0 9.6G 0% /sys/fs/cgroup
/dev/sda1 472M 83M 365M 19% /boot
Is it possible to get eve-ng to mount an external hdd it is a 1TB drive and does register when I add it via the usb setting with vsphere web interface
Thanks
Anthony
I have attached an external HDD to my Eve-ng virtual machine but i can't see it is registering within the eve-ng VM see below
Filesystem Size Used Avail Use% Mounted on
udev 9.6G 0 9.6G 0% /dev
tmpfs 2.0G 15M 2.0G 1% /run
/dev/mapper/eve--ng--vg-root 31G 19G 11G 64% /
tmpfs 9.6G 0 9.6G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 9.6G 0 9.6G 0% /sys/fs/cgroup
/dev/sda1 472M 83M 365M 19% /boot
Is it possible to get eve-ng to mount an external hdd it is a 1TB drive and does register when I add it via the usb setting with vsphere web interface
Thanks
Anthony
-
- Posts: 17
- Joined: Fri Nov 16, 2018 1:48 pm
Re: Add external HDD for second HDD on eve-ng
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: gpt
Disk identifier: EAA22875-5150-42DE-928B-D698B3CEBAD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: gpt
Disk identifier: EAA22875-5150-42DE-928B-D698B3CEBAD1
-
- Posts: 17
- Joined: Fri Nov 16, 2018 1:48 pm
Re: Add external HDD for second HDD on eve-ng
root@eve-ng:~# mkdir /media/Ehdd
root@eve-ng:~# mount /dev/sda /media/Ehdd
This fails with the below error
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
root@eve-ng:~# mount /dev/sda /media/Ehdd
This fails with the below error
mount: wrong fs type, bad option, bad superblock on /dev/sda,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
-
- Posts: 17
- Joined: Fri Nov 16, 2018 1:48 pm
Re: Add external HDD for second HDD on eve-ng
root@eve-ng:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 9.6G 0 9.6G 0% /dev
tmpfs 2.0G 15M 2.0G 1% /run
/dev/mapper/eve--ng--vg-root 31G 19G 11G 64% /
tmpfs 9.6G 0 9.6G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 9.6G 0 9.6G 0% /sys/fs/cgroup
/dev/sdb1 472M 83M 365M 19% /boot
/dev/sda2 932G 54G 879G 6% /media/Ehdd
OK i managed to mount the drive will this now automatically make use of this extra space ??
Thanks
Anthony
Filesystem Size Used Avail Use% Mounted on
udev 9.6G 0 9.6G 0% /dev
tmpfs 2.0G 15M 2.0G 1% /run
/dev/mapper/eve--ng--vg-root 31G 19G 11G 64% /
tmpfs 9.6G 0 9.6G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 9.6G 0 9.6G 0% /sys/fs/cgroup
/dev/sdb1 472M 83M 365M 19% /boot
/dev/sda2 932G 54G 879G 6% /media/Ehdd
OK i managed to mount the drive will this now automatically make use of this extra space ??
Thanks
Anthony
-
- Posts: 5081
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Add external HDD for second HDD on eve-ng
it is very bad idea use external drive for that.
I will guarantee to 80% your eve will crash or work totally bad
I will guarantee to 80% your eve will crash or work totally bad
-
- Posts: 17
- Joined: Fri Nov 16, 2018 1:48 pm
Re: Add external HDD for second HDD on eve-ng
Really I don't have much space yet on my server so the only solution is to increase the physical disk space on my server ?
-
- Posts: 5081
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: Add external HDD for second HDD on eve-ng
I warned you what would happen if to use external HDD..
So no complaints after
So no complaints after
-
- Posts: 17
- Joined: Fri Nov 16, 2018 1:48 pm
Re: Add external HDD for second HDD on eve-ng
OK Is it OK to just remove/unmount the External drive or will that cause issues now ?
Thanks
Anthony
Thanks
Anthony