已阅读5页,还剩7页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
如何在solaris中添加删除磁盘和分区建意你先看 IDE 和 SCSI 分配名称 以下例子是格式化 Primary IDE Master 硬盘 查看 IDE 和 SCSI 分配名称后,我们知道 Primary IDE Master 硬盘名称是c0d0。 请先行 Login 成为 root user # drvconfig ( configure the /devices directory ) # disks ( creates /dev entries for hard disks attached to the system ) # format Searching for disks.done AVAILABLE DISK SELECTIONS: 0. c0d0 /pci0,0/pci-ide7,1/ide0/cmdk0,0 1. c1t6d0 /pci0,0/pci9004,8178f/sd6,0 Specify disk (enter its number): 0 ( 因为 Primary IDE Master 硬盘名称是c0d0,所以选择 0 ) AVAILABLE DRIVE TYPES: 0. other Specify disk type (enter its number):0 ( 正常应该是 0. DEFAULT 1. other,通常应该选择DEFAULT,但是Solaris不明白我的硬盘是什么,所 以只有other可供选择。) 我的IDE HardDisk架构如下:- ( 可以从BIOS Auto Detect查出來,通常都有LBA,LARGE,AUTO三种选择,建意你使用Auto,因為不能大 过16Heads和不能大过63Sectoes ) Cylinders = 25232 Heads = 16 Sectors = 63 Enter number of data cylinders:25232 Enter number of alternate cylinders2: Enter number of physical cylinders25234: Enter number of heads: 16 Enter number of data sectors/track: 63 Enter rpm of drive3600: Enter format timedefault: Enter cylinder skewdefault: Enter track skewdefault: Enter tracks per zonedefault: Enter alternate tracksdefault: Enter alternate sectorsdefault: Enter cache controldefault: Enter prefetch thresholddefault: Enter minimum prefetchdefault: Enter maximum prefetchdefault: Enter disk type name (remember quotes): cyl 25232 alt 2 hd 16 sec 63 selecting c0d0 No current partition list No defect list found disk formatted, no defect list found FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk fdisk - run the fdisk program repair - repair a defective sector show - translate a disk address label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions volname - set 8-character volume name ! - execute , then return quit formatfdisk No fdisk table exists. The default partition for the disk is: a 100% SOLARIS System partition Type y to accept the default partition, otherwise type n to edit the partition table. y WARNING: Solaris fdisk partition changed - Please relabel the disk formatfdisk Total disk size is 25232 cylinders Cylinder size is 1008 (512 byte) blocks Cylinders Partition Status Type Start End Length % = = = = = = = WARNING: no partitions are defined! SELECT ONE OF THE FOLLOWING: 1. Create a partition 2. Specify the active partition 3. Delete a partition 4. Exit (update disk configuration and exit) 5. Cancel (exit without updating disk configuration) Enter Selection: 1 Select the partition type to create: 1=SOLARIS 2=UNIX 3=PCIXOS 4=Other 5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG 9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32 D=FAT32LBA E=DOSEXTLBA 0=Exit? 1 Specify the percentage of disk to use for this partition (or type c to specify the size in cylinders). 100 Should this become the active partition? If yes, it will be activated each time the computer is reset or turned on. Please type y or n. n Total disk size is 25232 cylinders Cylinder size is 1008 (512 byte) blocks Cylinders Partition Status Type StartEnd Length % = = = = = = 1Solaris1 2523125231 100 WARNING: no partitions are defined! SELECT ONE OF THE FOLLOWING: 1. Create a partition 2. Specify the active partition 3. Delete a partition 4. Exit (update disk configuration and exit) 5. Cancel (exit without updating disk configuration) Enter Selection: 4 WARNING: Solaris fdisk partition changed - Please relabel the disk format partition PARTITION MENU: 0 - change 0 partition 1 - change 1 partition 2 - change 2 partition 3 - change 3 partition 4 - change 4 partition 5 - change 5 partition 6 - change 6 partition 7 - change 7 partition select - select a predefined table modify - modify a predefined partition table name - name the current table print - display the current table label - write partition map and label to the disk ! - execute , then return quit partition print Current partition table (cyl): Total disk cylinders available: 25229 + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 root wm 0 0 (0/0/0) 0 1 swap wu 0 0 (0/0/0) 0 2 backup wu 0 - 25228 12.13GB (25229/0/0) 25430832 3 unassigned wm 0 0 (0/0/0) 0 4 unassigned wm 0 0 (0/0/0) 0 5 unassigned wm 0 0 (0/0/0) 0 6 usr wm 0 0 (0/0/0) 0 7 unassigned wm 0 0 (0/0/0) 0 8 boot wu 0 - 0 0.49MB (1/0/0) 1008 9 alternates wm 1 - 2 0.98MB (2/0/0) partition 0 ( Part 2, 8, 9 是不需要进行任何修改) Part Tag Flag Cylinders Size Blocks 0 root wm 0 0 (0/0/0) 0 Enter partition id tagroot: ( 只可使用 unassigned, boot, root, swap, usr, backup, stand, var, home, alternates ) Enter partition permission flagswm: ( wm - read-write, mountable,wu - read-write, unmountable,rm - read-only, mountable,ru - read-only, unmountable ) Enter new starting cyl0: 3 ( 從 Part 8 - 9 可以看到Cylinders 0 - 2 已经给系统使用,所以要 由 3 开始 ) Enter partition size0b, 0c, 0.00mb, 0.00gb: ? Expecting up to 25427808 blocks, 25226 cylinders, 12415.92 megabytes, or 12.12 gigabytes Enter partition size0b, 0c, 0.00mb, 0.00gb: 25427808b partition print Current partition table (cyl): Total disk cylinders available: 25229 + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 root wm 3 - 25228 12.13GB (25226/0/0) 25427808 1 swap wu 0 0 (0/0/0) 0 2 backup wu 0 - 25228 12.13GB (25229/0/0) 25430832 3 unassigned wm 0 0 (0/0/0) 0 4 unassigned wm 0 0 (0/0/0) 0 5 unassigned wm 0 0 (0/0/0) 0 6 usr wm 0 0 (0/0/0) 0 7 unassigned wm 0 0 (0/0/0) 0 8 boot wu 0 - 0 0.49MB (1/0/0) 1008 9 alternates wm 1 - 2 0.98MB (2/0/0) partition label Ready to label disk, continue? y partition quit format label ( 为了保险所以输入多一次label ) Ready to label disk, continue? y format quit # newfs /dev/rdsk/c0d0s0 ( c0d0 是硬盘的名称,可参考IDE 和 SCSI 分配名称。s0 是 Part 0。 newfs: construct a new file system /dev/rdsk/c0d0s0: (y/n)? y /dev/rdsk/c0d0s0: 25427808 sectors in 25226 cylinders of 16 tracks, 63 sectors 12415.9MB in 287 cyl groups (88 c/g, 43.31MB/g, 5504 i/g) super-block backups (for fsck -F ufs -o b=#) at: 32, 88800, 177568, 266336, 355104, 443872, 532640, 621408, 710176, 798944, 887712, 976480, 1065248, 1154016, 1242784, 1331552, 1419296, 1508064, 1596832, 1685600, 1774368, 1863136, 1951904, 2040672, 2129440, 2218208, 2306976, 2395744, 2484512, 2573280, 2662048, 2750816, 2838560, 2927328, 3016096, 3104864, 3193632, 3282400, 3371168, 3459936, 3548704, 3637472, 3726240, 3815008, 3903776, 3992544, 4081312, 4170080, 4257824, 4346592, 4435360, 4524128, 4612896, 4701664, 4790432, 4879200, 4967968, 5056736, 5145504, 5234272, 5323040, 5411808, 5500576, 5589344, 5677088, 5765856, 5854624, 5943392, 6032160, 6120928, 6209696, 6298464, 6387232, 6476000, 6564768, 6653536, 6742304, 6831072, 6919840, 7008608, 7096352, 7185120, 7273888, 7362656, 7451424, 7540192, 7628960, 7717728, 7806496, 7895264, 7984032, 8072800, 8161568, 8250336, 8339104, 8427872, 8515616, 8604384, 8693152, 8781920, 8870688, 8959456, 9048224, 9136992, 9225760, 9314528, 9403296, 9492064, 9580832, 9669600, 9758368, 9847136, 9934880, 10023648, 10112416, 10201184, 10289952, 10378720, 10467488, 10556256, 10645024, 10733792, 10822560, 10911328, 11000096, 11088864, 11177632, 11266400, 11354144, 11442912, 11531680, 11620448, 11709216, 11797984, 11886752, 11975520, 12064288, 12153056, 12241824, 12330592, 12419360, 12508128, 12596896, 12685664, 12773408, 12862176, 12950944, 13039712, 13128480, 13217248, 13306016, 13394784, 13483552, 13572320, 13661088, 13749856, 13838624, 13927392, 14016160, 14104928, 14192672, 14281440, 14370208, 14458976, 14547744, 14636512, 14725280, 14814048, 14902816, 14991584, 15080352, 15169120, 15257888, 15346656, 15435424, 15524192, 15611936, 15700704, 15789472, 15878240, 15967008, 16055776, 16144544, 16233312, 16322080, 16410848, 16499616, 16588384, 16677152, 16765920, 16854688, 16943456, 17031200, 17119968, 17208736, 17297504, 17386272, 17475040, 17563808, 17652576, 17741344, 17830112, 17918880, 18007648, 18096416, 18185184, 18273952, 18362720, 18450464, 18539232, 18628000, 18716768, 18805536, 18894304, 18983072, 19071840, 19160608, 19249376, 19338144, 19426912, 19515680, 19604448, 19693216, 19781984, 19869728, 19958496, 20047264, 20136032, 20224800, 20313568, 20402336, 20491104, 20579872, 20668640, 20757408, 20846176, 209349
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年兰州外语职业学院单招职业适应性测试必刷测试卷附答案解析
- 2026年安徽国际商务职业学院单招职业倾向性考试题库及答案解析(夺冠系列)
- 2026年山东省济宁市单招职业适应性考试题库附答案解析
- 2026年山西同文职业技术学院单招职业倾向性考试题库附答案解析
- 房屋拆除移交协议书
- 房屋无偿移交协议书
- 房屋继承养老协议书
- 房屋翻新补偿协议书
- 房屋装修错误协议书
- 房屋证明协议书范本
- 读懂农村“房地一体”确权登记颁证
- 德威特微机保护器661说明书
- 屠宰加工SSOP卫生标准操作规范1
- GB/T 29600-2012移动实验室用温湿度控制系统技术规范
- GB/T 21198.3-2007贵金属合金首饰中贵金属含量的测定ICP光谱法第3部分:钯合金首饰钯含量的测定采用钇为内标
- GB/T 120.1-2000内螺纹圆柱销不淬硬钢和奥氏体不锈钢
- 部编版九年级道德与法治下册第二单元教案
- GB 12255-1990药品包装用铝箔
- 血球分析仪销售血球必备知识课件
- Unit5 第二篇课文语法填空练习-高中英语人教版(2019)选择性必修第一册
- 《植物分类》课件
评论
0/150
提交评论