mount

General support questions
Post Reply
sirfpsycho
Posts: 16
Joined: 2017/01/29 04:06:35

mount

Post by sirfpsycho » 2018/06/27 05:07:28

Hello, hetzner server has 2x4TB HDD. It has rule that I can not make more than 2TB. It is not a problem. After installation the server without raid server has 4TB usable. So I want to mount another 4TB in 2TB 2TB of two partion.
I have mounted using these commands.
mkfs.ext4 /dev/sdb3
mkfs.ext4 /dev/sdb4

mkdir /home2
mkdir /home3

mount /dev/sdb3 /home2
mount /dev/sdb4 /home3

And edited /etc/fstab
This portion was empty.
But I added two lines
/dev/sdb3 /home2 ext4 defaults 0 2
/dev/sdb4 /home3 ext4 defaults 0 2

But after booting in normal mode and used df -h it does not show the home2 and home3

Filesystem Size Used Avail Use% Mounted on
/dev/sda3 2.0T 1.1G 1.9T 1% /
devtmpfs 16G 0 16G 0% /dev
tmpfs 16G 0 16G 0% /dev/shm
tmpfs 16G 17M 16G 1% /run
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/sda2 488M 129M 334M 28% /boot
/dev/sda4 1.7T 77M 1.6T 1% /home
tmpfs 3.1G 0 3.1G 0% /run/user/0


How to mount them?

Post Reply