Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| home_server:home_server_setup:other_services:disk [2020-08-29 Sat wk35 20:19] – [mount] baumkp | home_server:home_server_setup:other_services:disk [2025-09-14 Sun wk37 15:54] (current) – [Block Device Monitoring and Control] baumkp | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | + | {{tag> |
| =======Linux Block Device Notes====== | =======Linux Block Device Notes====== | ||
| Line 5: | Line 5: | ||
| ====Some basic tools==== | ====Some basic tools==== | ||
| - | '' | + | *'' |
| - | '' | + | *'' |
| + | *'' | ||
| + | *'' | ||
| ---- | ---- | ||
| Line 34: | Line 36: | ||
| ===Local Device=== | ===Local Device=== | ||
| - | mount -t ext2 /dev/sdb1 /mnt | + | **mount -t ext4 /dev/sdb1 /run/ |
| ===NFS Device=== | ===NFS Device=== | ||
| Line 52: | Line 54: | ||
| ---- | ---- | ||
| ====unmount==== | ====unmount==== | ||
| - | umount /mnt | + | '' |
| ---- | ---- | ||
| Line 61: | Line 64: | ||
| ---- | ---- | ||
| =====Block Device Monitoring and Control===== | =====Block Device Monitoring and Control===== | ||
| + | My main server has a parity disk that is normally only is used once a week. I would like to place this hard disk in to stand-by to reduce power and wear and tear upon it. | ||
| ====smartmon==== | ====smartmon==== | ||
| + | * '' | ||
| + | * If in standby mode it reports back only: " | ||
| + | * ++ active or idel mode| | ||
| + | < | ||
| + | Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org | ||
| + | |||
| + | === START OF INFORMATION SECTION === | ||
| + | Model Family: | ||
| + | Device Model: | ||
| + | Serial Number: | ||
| + | LU WWN Device Id: xxxxxxxxx | ||
| + | Firmware Version: 83.H0A83 | ||
| + | User Capacity: | ||
| + | Sector Sizes: | ||
| + | Rotation Rate: 5400 rpm | ||
| + | Form Factor: | ||
| + | Device is: In smartctl database 7.3/5804 | ||
| + | ATA Version is: | ||
| + | SATA Version is: SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s) | ||
| + | Local Time is: Sun Sep 14 11:21:22 2025 AWST | ||
| + | SMART support is: Available - device has SMART capability. | ||
| + | SMART support is: Enabled | ||
| + | Power mode is: ACTIVE or IDLE</ | ||
| + | ++ | ||
| ---- | ---- | ||
| ====hdparm==== | ====hdparm==== | ||
| + | *'' | ||
| + | |||
| + | To for the HD into standby mode after reboot and set the standby time crate and use an on boot systemd service. | ||
| + | ++++/ | ||
| + | <code bash> | ||
| + | Description=hdparm sleep | ||
| + | |||
| + | [Service] | ||
| + | Type=oneshot | ||
| + | ExecStart=/ | ||
| + | |||
| + | [Install] | ||
| + | WantedBy=multi-user.target</ | ||
| + | ++++ | ||
| + | Some tips: | ||
| + | *use '' | ||
| + | *use '' | ||
| + | *use '' | ||
| + | *use '' | ||
| + | ====idle3-tools==== | ||
| + | [[https:// | ||
| + | *[[https:// | ||
| + | |||
| + | ====References==== | ||
| + | *[[https:// | ||
| ---- | ---- | ||