Update Workflows/Linux/Expand iSCSI-Based ZFS Filesystem.md
This commit is contained in:
@ -16,7 +16,7 @@ This step goes over how to increase the usable space of the ZFS pool within the
|
|||||||
iscsiadm -m session --rescan # (1)
|
iscsiadm -m session --rescan # (1)
|
||||||
parted /dev/sdX # (2)
|
parted /dev/sdX # (2)
|
||||||
unit TB # (3)
|
unit TB # (3)
|
||||||
resizepart 1 XXTB # (4)
|
resizepart X XXTB # (4)
|
||||||
zpool online -e <POOL-NAME> /dev/sdX # (5)
|
zpool online -e <POOL-NAME> /dev/sdX # (5)
|
||||||
zpool scrub <POOL-NAME> # (6)
|
zpool scrub <POOL-NAME> # (6)
|
||||||
```
|
```
|
||||||
@ -24,6 +24,6 @@ zpool scrub <POOL-NAME> # (6)
|
|||||||
1. Re-scan iSCSI targets for changes.
|
1. Re-scan iSCSI targets for changes.
|
||||||
2. Open partitioning utility on the ZFS volume / LUN / iSCSI disk. Replace `dev/sdX` with the actual device name.
|
2. Open partitioning utility on the ZFS volume / LUN / iSCSI disk. Replace `dev/sdX` with the actual device name.
|
||||||
3. Self-explanatory storage measurement.
|
3. Self-explanatory storage measurement.
|
||||||
4. Resizes whatever partition is given to fit the new storage capacity. Replace `XXTB` with a valid value, such as `10TB`.
|
4. Resizes whatever partition is given to fit the new storage capacity. Replace `X` with the partition number. Replace `XXTB` with a valid value, such as `10TB`.
|
||||||
5. Brings the ZFS Pool back online. Replace `<POOL-NAME>` with the actual name of the ZFS pool.
|
5. Brings the ZFS Pool back online. Replace `<POOL-NAME>` with the actual name of the ZFS pool.
|
||||||
6. This tells the system to scan the ZFS pool for any errors or corruption and correct them. Think of it as a form of housekeeping.
|
6. This tells the system to scan the ZFS pool for any errors or corruption and correct them. Think of it as a form of housekeeping.
|
Reference in New Issue
Block a user