2025/10/01

redhat 備份虛擬機還原開機後出現錯誤 fsck.ext3: memory allocation failed while retrying to read bitmaps for /p1

 一台redhat 備份虛擬機,在還原到其他硬體,開機後出現錯誤
fsck.ext3: memory allocation failed while retrying to read bitmaps for /p1 
an error occurred during the file system check dropping you to a shell the system will reboot when you leave the shell
這時就先去查/p1是掛在哪個硬碟後,用root密碼登入,執行下列指令
fsck -y /dev/sda1
完成後在執行 reboot,就可以正常進入到系統了。

2025/09/26

netapp 建立iscsi 並掛載到windows

 netapp(8.2.3P3 )建立iscsi磁碟步驟(web console操作),並在windows server掛載:

1 在netapp的Storage -> Volumes ,執行Create,建立過程要選iscsi,並設定容量。

2 在netapp的Configuration-> iSCSI,啟用iscsi服務,要輸入目標節點名稱,會是iqn開頭的值。

3 在Windows 執行iscsi啟動器,輸入netapp的IP進行連線,連線成功,此時會在目標的頁籤看到netapp的節點名稱,如果剛剛在第二步沒找到節點名稱,就是輸入這個。

4 在設定這個頁籤,可以看到Windows 的啟動器名稱,也是iqn開頭的值,但跟netapp的節點名稱不一樣。

5 在netapp的Storage-> LUN,LUN管理裡執行Create一個LUN,這邊會連結到第一步建立的Volumes。

6 在netapp的Storage-> LUN,Initiator Group建立一個Group,建立時,會需要輸入第四步的Windows 的啟動器名稱。

7 在netapp的Storage-> LUN,LUN管理裡剛剛建立的LUN,連結到第六步建立的Initiator Group。

8 回到Windows 執行iscsi啟動器,重新連線,這時後再去磁碟管理中,就會看到多了一個新的磁碟,就是Netapp上iscsi分享出來的空間。


NetApp (8.2.3P3) iSCSI Disk Creation Steps (Web Console) and Mounting on Windows Server

  1. Create a Volume on NetApp

    • Go to Storage → VolumesCreate

    • Select iSCSI during the creation process and set the desired capacity.

  2. Enable iSCSI Service on NetApp

    • Go to Configuration → iSCSIEnable iSCSI

    • Enter the Target Name, which will start with iqn.

  3. Connect from Windows using iSCSI Initiator

    • Open the iSCSI Initiator on Windows and enter the NetApp IP to connect.

    • Once connected, you will see the NetApp Target Name under the Targets tab.

    • If you couldn’t find the Target Name in step 2, enter the one displayed here.

  4. Check Windows Initiator Name

    • In the Configuration tab of the iSCSI Initiator, you can see the Windows Initiator Name, which also starts with iqn but is different from the NetApp Target Name.

  5. Create a LUN on NetApp

    • Go to Storage → LUNs → Create

    • Link the new LUN to the Volume created in step 1.

  6. Create an Initiator Group (igroup) on NetApp

    • Go to Storage → LUNs → Initiator Groups → Create

    • Enter the Windows Initiator Name from step 4 when creating the igroup.

  7. Map the LUN to the Initiator Group

    • In Storage → LUNs, select the newly created LUN and map it to the igroup created in step 6.

  8. Mount the LUN on Windows

    • Go back to Windows and reconnect using the iSCSI Initiator.

    • Then open Disk Management, and you should see a new disk representing the iSCSI space shared from NetApp.


2025/09/16

WINDOWS11連線WINDOWS2003共用資料夾錯誤碼:0x80004005

 原本WINDOWS11連線WINDOWS2003共用資料夾都正常,但突然有一天卻無法連線,錯誤碼:0x80004005 。



利用WINDOWS7, 10, 2008, 2025都可以,非常奇怪。

最後解決方法是把WINDOWS11裡的SMB1.0 用戶端移除後重新安裝一次,就好了。


Originally, Windows 11 could connect to the Windows 2003 shared folder without any issues, but suddenly one day it stopped working, showing error code: 0x80004005.

Strangely, Windows 7, 10, 2008, and 2025 could all connect normally.

The final solution was to remove the SMB 1.0 client feature on Windows 11 and reinstall it, which fixed the problem.



2025/09/08

DNS 有不同主機對應相同IP

網域的DNS主機中,發現有一些電腦已取到其他IP,但DNS上還會保留舊記錄,不會自動清除,其他電腦後來取得該IP時,DNS上就有兩台電腦對應同一個IP。

這就會造成連線電腦時,會連錯電腦。

檢查過DHCP,已經設定成動態更新DNS了,還是不會更新DNS記錄,後來查發現,DNS的設定中,也要把啟用動清除過時的記錄打勾,DNS裡的舊記錄才會被清除。



On the domain DNS server, it was found that some computers had already obtained new IP addresses, but the DNS still kept their old records without automatically clearing them. When another computer later obtained that same IP, the DNS ended up showing two computers mapped to the same IP address.

This caused connection issues, as attempts to connect to one computer could actually connect to the wrong one.

After checking the DHCP settings, it was confirmed that dynamic DNS update was already enabled, but the DNS records were still not being updated. Further investigation revealed that in the DNS settings, the option “Enable scavenging of stale records” must also be checked; only then will outdated DNS records be cleared.



2025/09/01

SYNOLOGY 共用資料夾 誰在連線的資訊

 如果使用SYNOLOGY 當共用資料夾,想看目前誰有連線,開啟了什麼檔案:

開啟"資源監控",進到"連線",裡面就可以查看到相關訊息。


If you are using SYNOLOGY as a shared folder and want to see who is currently connected and which files are open:

Open Resource Monitor, go to Connections, and you will be able to view the relevant information there.



2025/08/28

synology active backup for business 還原虛擬機 需保持原設定

 synology active backup for business 備份虛擬機後,還原時如果需保持原設定,就需要在還原後,虛擬機第一次開機時,選擇"我已將其移動"。

通常會選這個,是因為裡面有裝一些軟體是會綁定硬體資訊,所以還原時,必須保持所有相關的設定資訊。




2025/08/18

pixel6過保送修台灣大哥大

上上週我的 Pixel 6 突然掛掉,重開機後一直卡在「G」的開機畫面。
一開始照網路教學進 fastboot 重置,沒用;接電腦想重灌系統,也失敗。最後只好送去台灣大哥大直營門市。因為已經過保,店員提醒如果不修要收 300 元檢測費。

進度可以在官網查,速度蠻快的。星期三就接到電話,說是主機板壞掉,要換新的,費用 4400,打 9 折後大概 4000。有點貴,加上 Pixel 10 快出了,本來不太想修。沒想到維修人員還問我能接受多少,說可以幫忙爭取,於是我就回說能壓在 3000 以內最好。

後來回覆說最多只能打 8 折,約 3500。雖然還是超過預算,但整個過程人員都很客氣、處理也快,最後我還是決定修。星期五就通知取貨,從星期一送修到星期五拿回來,算是蠻有效率的。

整體感覺:服務態度很好,維修速度也快,感覺很不錯。

2025/08/12

outlook傳送接收失敗 出現"未提供"

 outlook突然無法收發信,按下傳送接收時,都會跳出一個"未提供"的錯誤訊息。

重設outlook profile也沒用。

進到控制台,對outlook執行修復就正常了。



Outlook suddenly couldn’t send or receive emails. When clicking Send/Receive, it would always show an error message saying “Not Specified.”

Resetting the Outlook profile didn’t help.

Going into Control Panel and running a repair on Outlook fixed the issue.



2025/08/03

手機投影電視 小米電視盒子勝過Terzomen

 

之前為了想把手機畫面直接投影到電視上,買了Terzomen AirLink,快要1900元。

最近又買了小米盒子3,比較一下差別。


Terzomen AirLink

優點:不用特別設定,接上去就可以用了。

缺點:居然只支援apple的產品,android的手機/平板都不支援。

         接在手機那端的連結器看久還蠻燙的。

         單純就是無線傳輸影像的功能,一定要搭配手機或電腦用。

         比較貴。


小米電視盒子3

優點:apple跟android的設備都支援手機投影。

         不需要手機也有一些串流app可以看片。

          比較便宜。

缺點:一開始設定有點難用。

         需要有wifi。




相比之下,配合自己使用的環境,用小米盒子就夠了。




2025/08/01

outlook 郵件清單 不要顯示郵件內容

 

outlook 郵件清單,除了寄件人,主旨,時間之類的,還會在下一行顯示部分的郵件內容,

讓整個郵件清單看起來很雜。

可以在檢視的功能表中,在訊息預覽裡面,選擇關閉,就不會顯示那一行郵件內容了。



In the Outlook mail list, in addition to the sender, subject, and time, part of the email content is also displayed on the next line,
which makes the entire mail list look cluttered.

You can go to the View tab and, under Message Preview, select Off to stop showing that line of email content.