tips_and_tricks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips_and_tricks [2018/02/20 17:40] – jrseti | tips_and_tricks [2023/10/28 18:36] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ==USB disks go stale== | ==USB disks go stale== | ||
| - | oSometimes | + | |
| + | Sometimes | ||
| for i in / | for i in / | ||
| for foo in / | for foo in / | ||
| + | | ||
| + | ==Samba== | ||
| + | |||
| + | Restart: "sudo / | ||
| + | |||
| + | Conf file: "/ | ||
| + | |||
| + | Example disk config: | ||
| + | |||
| + | [bigdisk1] | ||
| + | path = /bigdisk1 | ||
| + | valid users = sonata | ||
| + | read only = no | ||
| + | | ||
| + | [bigdisk2] | ||
| + | path = /bigdisk2 | ||
| + | valid users = sonata | ||
| + | read only = no | ||
| + | | ||
| + | [bigdisk3] | ||
| + | path = /bigdisk3 | ||
| + | valid users = sonata | ||
| + | read only = no | ||
| + | | ||
| + | [sonata20160730-20180110] | ||
| + | path = / | ||
| + | valid users = sonata | ||
| + | read only = yes | ||
| + | |||
| + | ==List samba disks== | ||
| + | |||
| + | smbtree | ||
| + | |||
| + | example: | ||
| + | |||
| + | root@bserve1:/ | ||
| + | Enter root's password: | ||
| + | WORKGROUP | ||
| + | \\BSERVE1 | ||
| + | \\BSERVE1\IPC$ | ||
| + | \\BSERVE1\sonata20160730-20180110 | ||
| + | \\BSERVE1\bigdisk3 | ||
| + | \\BSERVE1\bigdisk2 | ||
| + | \\BSERVE1\bigdisk1 | ||
| + | \\BSERVE1\print$ | ||
| + | |||
| + | |||
| + | ==STORE1== | ||
| + | |||
| + | Early August Daniel set up the 90TB RAID5 disk system. | ||
| + | |||
| + | /etc/fstab entry: | ||
| + | // | ||
| + | | ||
| + | The / | ||
| + | |||
| + | [store1] | ||
| + | comment = store1' | ||
| + | path = /datax | ||
| + | guest ok = yes | ||
| + | writeable = yes | ||
| + | write list = sonata, root | ||
| + | valid users = sonata | ||
| + | read only = no | ||
| + | create mode = 0777 | ||
| + | force create mode = 0777 | ||
| + | directory mask = 0777 | ||
| + | force directory mode = 0777 | ||
tips_and_tricks.1519148414.txt.gz · Last modified: 2023/10/28 18:36 (external edit)