在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
  • 阅读 ( 211 )
  • 分类:互联网

你可能感兴趣的文章

如何从无法启动的计算机备份数据

...系统、在屏幕上看不到任何内容或驱动器已损坏,则无法使用此方法恢复任何数据。 ...

  • 发布于 2021-03-16 04:36
  • 阅读 ( 180 )

使用linux命令行安装硬盘和分区

如果您希望更多地使用Linux终端,那么学习如何手动装载和卸载硬盘是一个简单的开始。此外,如果你发现自己处于一种让你远离传统桌面的境地,学习如何这样做可能会节省很多时间和谷歌搜索。 ...

  • 发布于 2021-03-16 13:53
  • 阅读 ( 194 )

如何在mac上安装和双引导linux

...纸张,不如安装最新版本的Linux,并让它在未来几年继续使用。 ...

  • 发布于 2021-03-18 04:03
  • 阅读 ( 382 )

如何在linux下访问和使用windowscdrive

...行Windows和Linux的引导程序)存在影响Windows 8和10的问题。使用Linux操作系统时,无法访问Windows驱动器。 ...

  • 发布于 2021-03-26 10:17
  • 阅读 ( 203 )

运行您自己的比特币完整节点,只需一个树莓皮!

...带来任何实质性的好处。相反,拥有一个节点可以为其他使用比特币网络的人提供价值。 ...

  • 发布于 2021-03-28 03:24
  • 阅读 ( 668 )

linux下如何用gocryptfs加密文件

...于那些数据被曝光的人来说都是坏消息。 由于数百万人使用Dropbox、Google Drive和MicrosoftOneDrive等服务,每天都会将一个看似永无止境的数据流推到云上。如果您将部分(或全部)数据存储在云上,如果出现漏洞,您可以采取什么...

  • 发布于 2021-04-01 18:42
  • 阅读 ( 290 )

systemd将改变linux主目录的工作方式

...ing)甚至收到了死亡威胁。 在YouTube上发布了鼓吹对poetter使用暴力的歌曲,一些网站似乎试图强迫Linux用户**systemd。他的合作开发者凯·西弗斯(Kay Sievers)也受到批评和辱骂,但波特林无疑首当其冲。 然而,不到8个月,Fedora就...

  • 发布于 2021-04-02 04:05
  • 阅读 ( 205 )

如何在linux上编写fstab文件

...息。 下面介绍如何设置新硬盘,以便Linux和您可以看到并使用它。这个过程分为两部分。第一部分是做一些侦察,以确定硬盘驱动器和收集一些信息。第二部分是编辑fstab文件,使用我们在侦察阶段收集的信息。 找到你的新硬盘...

  • 发布于 2021-04-03 00:45
  • 阅读 ( 156 )

如何将linux主目录移动到另一个驱动器

...里有一个简单的、循序渐进的方法,可以在任何发行版上使用。移动您的主文件夹意味着您可以重新安装Linux,而不必担心您的个人文件。 为什么把你的主文件夹分开? 如果要设置新计算机或将硬盘驱动器添加到现有计算机,...

  • 发布于 2021-04-03 02:48
  • 阅读 ( 174 )

如何备份linux系统

...据丢失的风险。从Linux命令行备份有价值的数据。我们将使用rsync命令来实现这一点,我们甚至为它找到了一些不错的可选图形界面。 有很多方法可以实现备份文件。我们想向您展示一种健壮、灵活、可靠的方法来保护您的数据...

  • 发布于 2021-04-03 09:19
  • 阅读 ( 203 )
Recallchen
Recallchen

0 篇文章

相关推荐