Update 'hard_disk_partition_making_filesystem'
parent
f2d0892c56
commit
fac74862ac
|
@ -23,6 +23,33 @@ Created a new DOS disklabel with disk identifier 0x1c8c9d78.
|
||||||
5.** Press Enter** to accept the default last sector.
|
5.** Press Enter** to accept the default last sector.
|
||||||
6. Type **w and press Enter** to write the changes to disk. You should now have a new partition called sdb1.
|
6. Type **w and press Enter** to write the changes to disk. You should now have a new partition called sdb1.
|
||||||
|
|
||||||
|
**Display the new partition table:** \
|
||||||
|
`sudo fdisk -l`
|
||||||
|
|
||||||
|
/dev/sdb1 wird angezeigt
|
||||||
|
|
||||||
# 2. Format new partition as type ext4
|
# 2. Format new partition as type ext4
|
||||||
`sudo mkfs -t ext4 /dev/sdb1`
|
## 2.1. Format the new partition
|
||||||
|
|
||||||
|
`sudo mkfs -t ext4 /dev/sdb1`
|
||||||
|
|
||||||
|
**answer:** \
|
||||||
|
mke2fs 1.44.1 (24-Mar-2018)
|
||||||
|
Creating filesystem with 4194048 4k blocks and 1048576 inodes
|
||||||
|
Filesystem UUID: 8a1f9e47-da1f-49f1-999d-b742020d480e
|
||||||
|
Superblock backups stored on blocks:
|
||||||
|
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
|
||||||
|
4096000
|
||||||
|
|
||||||
|
Allocating group tables: done
|
||||||
|
Writing inode tables: done
|
||||||
|
Creating journal (16384 blocks): done
|
||||||
|
Writing superblocks and filesystem accounting information: done
|
||||||
|
|
||||||
|
## 2.2. Create a new directory where the new drive will mount into
|
||||||
|
```
|
||||||
|
sudo mkdir /catalogue-data
|
||||||
|
sudo mount /dev/sdb1 /catalogue-data
|
||||||
|
```
|
||||||
|
|
||||||
|
Folder /catalogue-data is used by GeoNetwork as data storage.
|
Loading…
Reference in New Issue
Block a user