Updated external content (Jenkins build 2416)

pull/2430/head
openHAB Build Server 2024-12-10 14:24:29 +00:00
parent 305f914375
commit b49de72b71
1 changed files with 6 additions and 21 deletions

View File

@ -156,10 +156,10 @@ root@pi:/home/pi#
```
### USB storage mount example
Note that this is showing two alternative versions, for VFAT/FAT-16 filesystems (i.e. the original MS-DOS and the improved Windows filesystems that you usually use for small USB sticks only) and another version to use the ext4 native Linux filesystem.
You can use ext4 on a stick or USB-attached hard drive.
Either way, you just need one or the other.
You cannot use Windows FAT formatting (which is the standard on USB sticks).
You must use the ext4 native Linux filesystem on your stick or USB-attached hard drive.
Remember that the storage area has to be physically (plugged in) and logically (mounted) available anytime Amanda runs.
That's why we do not recommend to use removable media, but if you nonetheless do, the non-Windows filesystem will actually also help you in not accidentially unplugging the storage stick.
```
root@pi:/home/pi# fdisk -l /dev/sda
@ -191,28 +191,13 @@ Allocating group tables: done
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
root@pi:/# mkfs.vfat -v /dev/sda1
mkfs.fat 4.1 (2017-01-24)
/dev/sda1 has 4 heads and 32 sectors per track,
hidden sectors 0x2000;
logical sector size is 512,
using 0xf8 media descriptor, with 524288 sectors;
drive number 0x80;
filesystem has 2 16-bit FATs and 8 sectors per cluster.
FAT size is 256 sectors, and provides 65467 clusters.
There are 8 reserved sectors.
Root directory contains 512 slots and uses 32 sectors.
Volume ID is 3604a1e5, no volume label.
root@pi:/home/pi# mkdir -p /storage/usbstick-linux /storage/usbstick-msdos
root@pi:/home/pi# mkdir -p /storage/usbstick-linux
root@pi:/home/pi# echo "/dev/sda8 /storage/usbstick-linux ext4 defaults,noatime 0 1" >> /etc/fstab
root@pi:/home/pi# echo "/dev/sda1 /storage/usbstick-msdos vfat noatime,noauto,user,uid=backup 0 1" >> /etc/fstab
root@pi:/home/pi# mount /storage/usbstick-linux
root@pi:/home/pi# mount /storage/usbstick-msdos
root@pi:/home/pi# df -k /storage/usbstick-linux /storage/usbstick-msdos
root@pi:/home/pi# df -k /storage/usbstick-linux
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda8 13403236 8204144 4495196 65% /storage/usbstick-linux
/dev/sda1 13403236 9018464 3680876 72% /storage/usbstick-msdos
root@pi:/home/pi#
```