在linux中,使用外部usb硬碟作為/home掛載是否安全?

無論是剩餘內部硬碟空間小的問題還是個人喜好,外部硬碟在很多方面都很有用。考慮到這一點,在Linux中使用外部USB硬碟作為/home掛載是安全的嗎?今天的超級使用者問答帖子討論了這個問題,以幫助好奇的讀者。...

在linux中,使用外部u**硬碟作為/home掛載是否安全?

無論是剩餘內部硬碟空間小的問題還是個人喜好,外部硬碟在很多方面都很有用。考慮到這一點,在Linux中使用外部USB硬碟作為/home掛載是安全的嗎?今天的超級使用者問答帖子討論了這個問題,以幫助好奇的讀者。

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

照片由Karen(Flickr)提供。

問題

超級使用者讀者misha256想知道在Linux中使用外接USB硬碟作為/home掛載是否安全:

I am getting ready to give Linux Mint a whirl. As I understand it, /home is where the user’s content like documents, downloads, and media will be stored. Because my SSD hard-drive is **all, I would like to use an external USB hard-drive for /home. This raises a couple of questi***:

  1. Is there anything inherently wrong or bad in doing this?
  2. Will it be reasonably safe and reliable compared to using an internal SATA hard-drive?

在Linux中,使用外部USB硬碟作為/home掛載是否安全?

答案

超級使用者貢獻者acevalin和Hennes為我們提供了答案。首先,acejavelin:

Assuming that you have a quality USB port, cable, and external hard-drive, it should be as safe and reliable as using an internal drive, especially if you have USB 3.0. If you are using USB 2.0, then you will likely see some very noticeable performance degradation.

接著是海恩斯的回答:

There is no problem with putting /home on an external hard-drive assuming that:

  1. Your external hard-drive does not get unplugged mid operation (neither Windows nor Linux likes that). Windows ships with a default setting which makes access a lot slower but safer, which means do not unplug it while in use.
  2. Speed will be slower than a direct connection to the SATA or SAS Bus. How much slower depends on the connection and for many things even USB 2.0 (at ~30MB/sec) might be fast enough (i.e. playing MP3’s and movies, reading config files, etc.).
  3. This does assume that you power up the external hard-drive before you boot the laptop (mounting will fail otherwise).
  4. It ignores any potential USB driver bugs (easy enough to test though).

Note that there are lots of stories about external hard-drives being less reliable. I have no idea if this is true or if it is merely a result of having droppable devices that get lugged around in backpacks, going from cold (outside) to hot and humid inside (maybe a bit of both).

Do not get a WD Green Drive as an external hard-drive because they tend to park a lot. They are good for power usage if the hard-drive is used as archive storage and then allowed to spin down when not in use. When in active use (either in Windows, Linux, or any other operating system), you might get a hard-drive that spins down every minute, then spins back up, and down, and up, and down, etc. This tends to wear out the hard-drive and waiting on it to spin back up adds delays to the operating system.


有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-10 06:07
  • 閱讀 ( 50 )
  • 分類:網際網路

你可能感興趣的文章

如何從無法啟動的計算機備份資料

...系統、在螢幕上看不到任何內容或驅動器已損壞,則無法使用此方法恢復任何資料。 ...

  • 發佈於 2021-03-16 04:36
  • 閲讀 ( 55 )

使用linux命令列安裝硬碟和分割槽

如果您希望更多地使用Linux終端,那麼學習如何手動裝載和解除安裝硬碟是一個簡單的開始。此外,如果你發現自己處於一種讓你遠離傳統桌面的境地,學習如何這樣做可能會節省很多時間和谷歌搜尋。 ...

  • 發佈於 2021-03-16 13:53
  • 閲讀 ( 87 )

如何在mac上安裝和雙引導linux

...紙張,不如安裝最新版本的Linux,並讓它在未來幾年繼續使用。 ...

  • 發佈於 2021-03-18 04:03
  • 閲讀 ( 60 )

如何在linux下訪問和使用windowscdrive

...行Windows和Linux的載入程式)存在影響Windows 8和10的問題。使用Linux作業系統時,無法訪問Windows驅動器。 ...

  • 發佈於 2021-03-26 10:17
  • 閲讀 ( 48 )

執行您自己的比特幣完整節點,只需一個樹莓皮!

...帶來任何實質性的好處。相反,擁有一個節點可以為其他使用比特幣網路的人提供價值。 ...

  • 發佈於 2021-03-28 03:24
  • 閲讀 ( 43 )

linux下如何用gocryptfs加密檔案

...於那些資料被曝光的人來說都是壞訊息。 由於數百萬人使用Dropbox、Google Drive和MicrosoftOneDrive等服務,每天都會將一個看似永無止境的資料流推到雲上。如果您將部分(或全部)資料儲存在雲上,如果出現漏洞,您可以採取什麼...

  • 發佈於 2021-04-01 18:42
  • 閲讀 ( 47 )

systemd將改變linux主目錄的工作方式

...ing)甚至收到了死亡威脅。 在YouTube上釋出了鼓吹對poetter使用暴力的歌曲,一些網站似乎試圖強迫Linux使用者**systemd。他的合作開發者凱·西弗斯(Kay Sievers)也受到批評和辱罵,但波特林無疑首當其衝。 然而,不到8個月,Fedora...

  • 發佈於 2021-04-02 04:05
  • 閲讀 ( 50 )

如何在linux上編寫fstab檔案

...訊。 下面介紹如何設定新硬碟,以便Linux和您可以看到並使用它。這個過程分為兩部分。第一部分是做一些偵察,以確定硬碟驅動器和收集一些資訊。第二部分是編輯fstab檔案,使用我們在偵察階段收集的資訊。 找到你的新硬碟...

  • 發佈於 2021-04-03 00:45
  • 閲讀 ( 39 )

如何將linux主目錄移動到另一個驅動器

...裡有一個簡單的、循序漸進的方法,可以在任何發行版上使用。移動您的主資料夾意味著您可以重新安裝Linux,而不必擔心您的個人檔案。 為什麼把你的主資料夾分開? 如果要設定新計算機或將硬碟驅動器新增到現有計算機,...

  • 發佈於 2021-04-03 02:48
  • 閲讀 ( 51 )

如何備份linux系統

...料丟失的風險。從Linux命令列備份有價值的資料。我們將使用rsync命令來實現這一點,我們甚至為它找到了一些不錯的可選圖形介面。 有很多方法可以實現備份檔案。我們想向您展示一種健壯、靈活、可靠的方法來保護您的資料...

  • 發佈於 2021-04-03 09:19
  • 閲讀 ( 76 )
Recallchen
Recallchen

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦