[Ubuntu-zh] U盘分区问题

陈翔宇 xnguchen在gmail.com
星期四 五月 5 10:00:24 UTC 2011


主要还是看芯片吧 好的U盘用的大多是SLC 或MLC 芯片 差一点的用TLC 芯片 前一阵子买了个东芝的U盘 回来一看 是TLC的。。。很悲剧。
----- Original Message ----- 
From: "David Lee" <leeleilei在gmail.com>
To: "ubuntu-zh mailing lists" <ubuntu-zh在lists.ubuntu.com>
Sent: Thursday, May 05, 2011 11:51 AM
Subject: Re: [Ubuntu-zh] U盘分区问题


> "不过个人觉得优盘作为不可靠介质"
> --- 还好了,好多标称100万次读写次数什么的,计算方法不太清楚。这里有个简单的测试,08年,
> http://www.bress.net/blog/archives/114-How-Long-Does-a-Flash-Drive-Last.html
> 。不频繁、质量可靠的话,应该能用很长时间,5年前买的
> kingstone 8G,装了os,还在带着跑。
> 
> 
> “数据无法安全可靠的读取控制确保不被盗窃”
> ----- LUKS的encrypset啊~~ PMagic里也有个trueencrypt图形界面的使用起来很方便的。
> 
> 
> “PS:我刚开始用linux的时候也对我的优盘进行过分区的操作,成功了,后来发现很没用……”
> --- 类似Poppy的需求就有用(linux 和 win 共享一个分区)
> 
> 
> 2011/5/5 blue dark <darkblue086在gmail.com>
> 
>>
>> 我原来的32M,64M和256M的优盘都有分区表……这个只要是磁盘(不管是优盘,SSD,传统的硬盘)都会有的。不过个人觉得优盘作为不可靠介质一般不用分区,因为遗失、数据无法安全可靠的读取控制确保不被盗窃(在
>> win &
>>
>> linux通用的方法),以及现在大都没有写入锁定无法防范病毒,所以大容量优盘仅仅是作为一个数据传输的工具,而不是备份的工具,传输工具只需要尽量装下尽量多的文件就可以了,所以不需要分区。
>> PS:我刚开始用linux的时候也对我的优盘进行过分区的操作,成功了,后来发现很没用……
>>
>> 大容量的移动硬盘作为备份存储的工具是需要分区的,这个很有必要。
>> 大家不要扯远了。
>>
>> 2011/5/3 David Lee <leeleilei在gmail.com>
>>
>> > sorry 贴慢了,一直存着草稿。
>> >
>> > ~$ sudo fdisk /dev/sdb
>> >
>> > WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
>> >         switch off the mode (command 'c') and change display units to
>> >         sectors (command 'u').
>> >
>> > Command (m for help): p
>> >
>> > Disk /dev/sdb: 8127 MB, 8127512576 bytes
>> > 251 heads, 62 sectors/track, 1020 cylinders
>> > Units = cylinders of 15562 * 512 = 7967744 bytes
>> > Sector size (logical/physical): 512 bytes / 512 bytes
>> > I/O size (minimum/optimal): 512 bytes / 512 bytes
>> > Disk identifier: 0x00054ed4
>> >
>> >   Device Boot      Start         End      Blocks   Id  System
>> > /dev/sdb1   *           1          14      108903   83  Linux
>> > /dev/sdb2              15        1020     7827686    5  Extended
>> > /dev/sdb5              15         900     6893935   83  Linux
>> > /dev/sdb6             901        1020      933689    c  W95 FAT32 (LBA)
>> >
>> >
>> >
>> 插入windows后就能识别出分区,在磁盘管理器里面,sdb6跑到了U盘分区的第一个位置,而不是第3个,盘符正常,显示的状态也是healthy,但双击时还是提示需要format。
>> >
>> > U盘上还有其他数据,不方便测试是否识别第一个分区是w95的情况了。poppy的情况说明还是可以的。
>> >
>> >
>> >
>> > 2011/4/29 Poppy <poppylx在gmail.com>
>> >
>> > > 算了,还是分回去吧,U盘还是当U盘用好了。
>> > >
>> > >
>> > > On 04/29/2011 11:56 PM, tvdbukrf inuyasha wrote:
>> > >
>> > >> 我试过~无不以格式化告终~
>> > >>
>> > >> 2011/4/29 Earthson<earthson.landy在gmail.com>
>> > >>
>> > >>  貌似用disk utility就可以分区了吧。。貌似windows只能识别第一个分区,所以,第一个分区不要用linux专有的格式
>> > >>>
>> > >>> 2011/4/29 tvdbukrf inuyasha<4entertrifle在gmail.com>
>> > >>>
>> > >>>  大部分U盘貌似不支持分区~你强行分了也会认不出,各种问题
>> > >>>>
>> > >>>> 2011/4/29 Poppy<poppylx在gmail.com>
>> > >>>>
>> > >>>>  今天在邮件列表有朋友提示说U盘分区应该先分Windows分区再分Linux分区。
>> > >>>>> 但是我用fdisk分区后Linux分区一直无法识别。
>> > >>>>> mount时出现提示:
>> > >>>>> Error mounting:mount:wrong fs type. bad option, bad superblock on
>> > >>>>> /dev/sdb2.
>> > >>>>> missing codepage or helper program, or other error
>> > >>>>> In some cases useful info is found in syslog - try dmesg|tail or
>> so.
>> > >>>>>
>> > >>>>> 运行dmesg|tail:
>> > >>>>> [ 2348.719805] sd 6:0:0:0: [sdb] No Caching mode page present
>> > >>>>> [ 2348.719810] sd 6:0:0:0: [sdb] Assuming drive cache: write
>> through
>> > >>>>> [ 2348.719815] sd 6:0:0:0: [sdb] Attached SCSI removable disk
>> > >>>>> [ 3061.738527] EXT3-fs error (device sdb2): ext3_check_descriptors:
>> > >>>>>
>> > >>>> Block
>> > >>>
>> > >>>> bitmap for group 1 not in group (block 0)!
>> > >>>>> [ 3061.989218] EXT3-fs (sdb2): error: group descriptors corrupted
>> > >>>>>
>> > >>>>> 最后描述下我的操作:
>> > >>>>> fdisk /dev/sdb
>> > >>>>> 删除所有分区,创建两个主分区
>> > >>>>> 第一个主分区修改id为fat32类型
>> > >>>>> 然后w写入
>> > >>>>> 退出
>> > >>>>> mkfs.vfat /dev/sdb1
>> > >>>>> mkfs.ext3 /dev/sdb2
>> > >>>>>
>> > >>>>> 谁知道什么原因啊,帮帮
>> > >>>>>
>> > >>>>> --
>> > >>>>> ubuntu-zh mailing list
>> > >>>>> ubuntu-zh在lists.ubuntu.com
>> > >>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > >>>>>
>> > >>>>>  -------------- 下一部分 --------------
>> > >>>> 一个HTML附件被移除...
>> > >>>> URL:<
>> > >>>>
>> > >>>>
>> > >>>
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110429/101e6afb/attachment.html
>> > >>>
>> > >>>> --
>> > >>>> ubuntu-zh mailing list
>> > >>>> ubuntu-zh在lists.ubuntu.com
>> > >>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > >>>>
>> > >>>>
>> > >>>
>> > >>> --
>> > >>>
>> > >>>                                    这个世界不会因为没有你而失去什么
>> > >>> 但是,却有可能因为你的存在而发生一些改变。。
>> > >>> -------------- 下一部分 --------------
>> > >>> 一个HTML附件被移除...
>> > >>> URL:<
>> > >>>
>> > >>>
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110429/76630dab/attachment.html
>> > >>> --
>> > >>> ubuntu-zh mailing list
>> > >>> ubuntu-zh在lists.ubuntu.com
>> > >>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > >>>
>> > >>>  -------------- 下一部分 --------------
>> > >> 一个HTML附件被移除...
>> > >> URL:<
>> > >>
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110429/f24b3622/attachment.html
>> > >> >
>> > >>
>> > >
>> > >
>> > > --
>> > > ubuntu-zh mailing list
>> > > ubuntu-zh在lists.ubuntu.com
>> > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> > >
>> >
>> >
>> >
>> > --
>> > Regards, David
>> > -------------- 下一部分 --------------
>> > 一个HTML附件被移除...
>> > URL: <
>> >
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110503/dc271759/attachment.html
>> > >
>> > --
>> > ubuntu-zh mailing list
>> > ubuntu-zh在lists.ubuntu.com
>> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>> >
>> -------------- 下一部分 --------------
>> 一个HTML附件被移除...
>> URL: <
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110505/707bd9a6/attachment.html
>> >
>> --
>> ubuntu-zh mailing list
>> ubuntu-zh在lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>
> 
> 
> 
> -- 
> Regards, David
> -------------- 下一部分 --------------
> 一个HTML附件被移除...
> URL: <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110505/524d87f1/attachment.html>
> -- 
> ubuntu-zh mailing list
> ubuntu-zh在lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>


关于邮件列表 ubuntu-zh 的更多信息