国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Linux > 正文

Linux下使用大于2T的塊設備

2024-08-28 00:18:32
字體:
來源:轉載
供稿:網友
Linux在內核中選擇支持Large Block Device時,是可以使用大于2T的塊設備的。但是當使用Fdisk來查看這個塊設備時,卻發現最大只能顯示出來2T的空間,而且使用其他的分區工具時也很難使用大于2T的塊設備。

這時候可以使用parted

>>[root@hp320s ~]# parted /dev/cciss/c0d1
>> GNU Parted 1.6.19
>> Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
>> This program is free software, covered by the GNU General Public License.
>>
>> This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
>> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
>>
>> Using /dev/cciss/c0d1
>> (parted) help
>> check MINOR do a simple check on the filesystem
>> cp [FROM-DEVICE] FROM-MINOR TO-MINOR copy filesystem to another partition
>> help [COMMAND] prints general help, or help on COMMAND
>> mklabel LABEL-TYPE create a new disklabel (partition table)
>> mkfs MINOR FS-TYPE make a filesystem FS-TYPE on partititon MINOR
>> mkpart PART-TYPE [FS-TYPE] START END make a partition
>> mkpartfs PART-TYPE FS-TYPE START END make a partition with a filesystem
>> move MINOR START END move partition MINOR
>> name MINOR NAME name partition MINOR NAME
>> print [MINOR] display the partition table, or a partition
>> quit exit program
>> rescue START END rescue a lost partition near START and END
>> resize MINOR START END resize filesystem on partition MINOR
>> rm MINOR delete partition MINOR
>> select DEVICE choose the device to edit
>> set MINOR FLAG STATE change a flag on partition MINOR
>> (parted) print
>> Warning: /dev/cciss/c0d1 contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos
>> partition table, as it should. Perhaps it was corrupted - possibly by a program that doesn’t understand GPT partition tables. Or
>> perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table
>> Yes/No rm
>> Yes/No yes
>> Disk geometry for /dev/cciss/c0d1: 0.000-7766701.367 megabytes
>> Disk label type: gpt
>> Minor Start End Filesystem Name Flags
>> 1 0.017 7766701.351
>> (parted) rm
>> Warning: /dev/cciss/c0d1 contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos
>> partition table, as it should. Perhaps it was corrupted - possibly by a program that doesn’t understand GPT partition tables. Or
>> perhaps you deleted the GPT table, and are now using an msdos partition table. Is this a GPT partition table
>> Yes/No yes
>> Partition number 1
>> (parted) print
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 利辛县| 通河县| 巴林左旗| 闽清县| 宣武区| 水城县| 伊川县| 黄山市| 清徐县| 萝北县| 奉节县| 济阳县| 临汾市| 英超| 高阳县| 抚远县| 松滋市| 班玛县| 武鸣县| 吴川市| 元朗区| 康乐县| 江口县| 洛阳市| 德州市| 苏尼特左旗| 澄迈县| 汉沽区| 微博| 紫金县| 肃北| 略阳县| 宁陕县| 儋州市| 甘孜县| 霍邱县| 夏津县| 友谊县| 教育| 微山县| 巴楚县|