Closed aki0000 closed 3 years ago
mount external ssd
#verify disk
sudo fdisk -l
# make partition
sudo fdisk /dev/sda
# verify disk info that configured just few min ago
Command (m for help): p
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: PX-256S2C
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xbaa28e45
# create file system
sudo mkfs.ext4 /dev/sda1
# Create directory for the mount
sudo mkdir /mnt/data
# Mount
sudo mount -t ext4 /dev/sda1 /mnt/data
# Change privilege for the mount
sudo chmod 777 /mnt/data
facing error after perform format
Writing superblocks and filesystem accounting information: mkfs.ext4: Input/output error while writing out and closing file system
Could be mounted . but im not sure the reson why..... https://qiita.com/ats030/items/65c5585c5c701841525e
need to configure NFS.... http://kt-hiro.hatenablog.com/entry/20120218/1329549900
apt-get install nfs-common mount -t nfs 192.168.100.109:/mnt/nfs /mnt/data -o hard,intr
ras01, ras02, ras03 done
Install nfs-kernel-server into debian (ras pi 3 modelB)
apt -y install nfs-kernel-server