博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
word中将linux回车_在Linux中将外部USB硬盘用于/ home挂载是否安全?
阅读量:2507 次
发布时间:2019-05-11

本文共 4407 字,大约阅读时间需要 14 分钟。

word中将linux回车

word中将linux回车

is-it-safe-to-use-an-external-usb-hard-drive-for-the-home-mount-in-linux-00

Whether it is a matter of low remaining internal hard-drive space or just a personal preference, external hard-drives can be useful in many ways. With that in mind, is it safe to use an external USB hard-drive for the /home mount in Linux? Today’s SuperUser Q&A post discusses the question to help a curious reader.

无论是内部硬盘驱动器剩余空间少还是个人喜好,外部硬盘驱动器在许多方面都可以发挥作用。 考虑到这一点,在Linux中将外部USB硬盘驱动器用于/ home挂载是否安全? 今天的超级用户问答环节讨论了这个问题,以帮助好奇的读者。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

Photo courtesy of .

照片由 。

问题 (The Question)

SuperUser reader misha256 wants to know if it is safe to use an external USB hard-drive for the /home mount in Linux:

SuperUser阅读器misha256想知道在Linux的/ home挂载中使用外部USB硬盘是否安全:

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 small, I would like to use an external USB hard-drive for /home. This raises a couple of questions:

我正准备给Linux Mint一个旋转。 据我了解,/ home是存储用户内容(如文档,下载和媒体)的位置。 因为我的SSD硬盘驱动器很小,所以我想将一个外部USB硬盘驱动器用于/ home。 这引起了两个问题:

  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?

    与使用内部SATA硬盘驱动器相比,它是否相当安全可靠?

Is it safe to use an external USB hard-drive for the /home mount in Linux?

在Linux中将外部USB硬盘用于/ home挂载是否安全?

答案 (The Answer)

SuperUser contributors acejavelin and Hennes have the answer for us. First up, acejavelin:

超级用户贡献者acejavelin和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.

假设您具有高质量的USB端口,电缆和外部硬盘驱动器,则它应该与使用内部驱动器一样安全可靠,尤其是在具有USB 3.0的情况下。 如果您使用的是USB 2.0,则可能会看到一些非常明显的性能下降。

Followed by the answer from Hennes:

随后是Hennes的回答:

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

假定以下情况,将/ home放在外部硬盘驱动器上没有问题:

  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.

    您的外部硬盘驱动器无法在操作过程中拔出电源(Windows和Linux都不喜欢这样做)。 Windows附带了一个默认设置,该设置使访问速度变慢但更安全,这意味着在使用时请勿拔出它

  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.).

    速度将比直接连接到SATA或SAS总线慢。 慢多少取决于连接,在很多情况下,甚至USB 2.0(约30MB /秒)也可能足够快(即播放MP3和电影,读取配置文件等)。
  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).

    它忽略了任何潜在的USB驱动程序错误(尽管足够容易进行测试)。

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.

请勿将WD Green Drive用作外部硬盘驱动器,因为它们往往会停放很多。 如果将硬盘驱动器用作存档存储,然后在不使用时调低速度,则它们非常适合耗电。 处于活动状态(在Windows,Linux或任何其他操作系统中)时,您可能会得到一个硬盘,该硬盘每分钟旋转一次,然后向上,向下,向上和向下旋转,等等。磨损硬盘驱动器并等待其旋转回滚会增加操作系统的延迟。



Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? .

有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 。

翻译自:

word中将linux回车

转载地址:http://pmzwd.baihongyu.com/

你可能感兴趣的文章
处理MVC中默认的Json方法返回时间的问题
查看>>
分布式技术追踪 2018年第十期
查看>>
IDEA中Git的使用
查看>>
War3模型导出
查看>>
java: 列出本机java环境
查看>>
Python内置函数(19)——eval
查看>>
怎样录制屏幕并将结果保存为Gif
查看>>
别名设置 alias
查看>>
练习3.34
查看>>
oracle加减操作
查看>>
dp乱写3:环形区间dp(数字游戏)
查看>>
【Beta阶段】启程会议——第零次Scrum Meeting!
查看>>
Apple Tree
查看>>
JS 中对变量类型的五种判断方法
查看>>
学习进度十五
查看>>
解决Android Studio启动项目后一直处于refreshing 'View' gradle project,快速解决亲测有效...
查看>>
4.12 | 学习笔记
查看>>
python开发【第一篇】:基础知识
查看>>
javascript的window.onload()方法和jQuery的$(document).ready()的对比
查看>>
mysql数据库维护(备份和还原)和性能提高
查看>>