Symptoms
Cause
Resolution
--------------------------------------------------
This blog record some problem solution that maybe hard to found in search engine. These solution including operation system and software etc. 這裡將記錄一些難以在搜尋引擎找到的問題解決方法,範圍包含作業系統及軟體等。
--------------------------------------------------
--------------------------------------------------
scrcpy started but error happened even using -p :
使用 scrcpy 時出現無法開啟 port,即使指定特定的 port 時也一樣。
network or something broken.
網路服務或是不明的錯誤。
open command prompt then execute the commands below:
打開命令提示字元後輸入以下指令:
net stop hns.
type 'y' and enter
net start hns.
Nothing happened when you click resize function from disks utility.
使用 Disks 工具的 Resize 功能時,系統沒有任何反應。
The partition you want to extend is not allocate properly.
預擴增的硬碟沒有先配置好可用空間。
First, you need to allocate available spaces to the device.
首先必須先修正、配置該硬碟的可用空間。
sudo parted -a optimal /dev/sdb
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Warning: Not all of the space available to /dev/sdb appears to be used, you can fix the GPT to use all of the space (an
extra 15623782400 blocks) or continue with the current setting?
Fix/Ignore? F
Model: DELL PERC H730P Adp (scsi)
Disk /dev/sdb: 24.0TB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 16.0TB 16.0TB xfs
then you can using resize function from disks utility without problem.
之後再使用 Disks 中的 resize 功能即可正常擴增。