Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Utils:
- udisks2
- HDDScan - Win?
- SMART Loan/Unload Cycle count
- # Включить минимум энергосбережения, отключить автопарк головок:
- hdparm -B 255 /dev/hda
- # Rescan
- echo 1 > /sys/block/sdb/device/rescan
- lvcreate -n NAME -l 100%FREE vg0
- Fixing the GPT after clone
- https://asherman.io/2018/10/02/cloning-a-gpt-ntfs.html
- Performing a truncated copy of the disk will corrupt the GPT. Luckily this can be fixed using gdisk. Enter gdisk and perform the following operations:
- gdisk /dev/sda
- Delete any partitions after the data partition using d
- Fit the GPT to the new disk size using expert x option e
- Use the main GPT header to rebuild the backup with recovery r option d
- Write the table to disk with w
- # Disable green functions:
- hdparm -S0 /dev/sdb
- /dev/sdb:
- setting standby to 0 (off)
- hdparm -B255 /dev/sdb
- /dev/sdb:
- setting Advanced Power Management level to disabled
- APM_level = off
Add Comment
Please, Sign In to add comment