位置: 编程技术 - 正文

solaris中添加删除磁盘和分区(solaris删除文件命令)

编辑:rootadmin

推荐整理分享solaris中添加删除磁盘和分区(solaris删除文件命令),希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:solaris常用命令,solaris 删除用户,solaris添加用户,solaris 删除用户,solaris常用命令,solaris 删除用户,solaris删除文件命令,solaris 删除用户,内容如对您有帮助,希望把文章链接给更多的朋友!

solaris中添加删除磁盘和分区(solaris删除文件命令)

如何在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 /pci@0,0/pci-ide@7,1/ide@0/cmdk@0,0 1. c1t6d0 /pci@0,0/pci,@f/sd@6,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查出?恚?ǔ6加?BA,LARGE,AUTO三种选择,建意你使用Auto,因?椴荒艽 过Heads和不能大过Sectoes ) Cylinders = Heads = Sectors = Enter number of data cylinders: Enter number of alternate cylinders[2]: Enter number of physical cylinders[]: Enter number of heads: Enter number of data sectors/track: Enter rpm of drive[]: Enter format time[default]: Enter cylinder skew[default]: Enter track skew[default]: Enter tracks per zone[default]: Enter alternate tracks[default]: Enter alternate sectors[default]: Enter cache control[default]: Enter prefetch threshold[default]: Enter minimum prefetch[default]: Enter maximum prefetch[default]: Enter disk type name (remember quotes): cyl alt 2 hd sec 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 format>fdisk No fdisk table exists. The default partition for the disk is: a % "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 format>fdisk Total disk size is cylinders Cylinder size is ( 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=DOS 6=DOS 7=DOSEXT 8=DOSBIG 9=DOSLBA A=x Boot B=Diagnostic C=FAT D=FATLBA E=DOSEXTLBA 0=Exit? 1 Specify the percentage of disk to use for this partition (or type "c" to specify the size in cylinders). 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 cylinders Cylinder size is ( byte) blocks Cylinders Partition Status Type StartEnd Length % ========= ====== ============ ======== ====== === 1Solaris1 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: + 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 - .GB (/0/0) 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.MB (1/0/0) 9 alternates wm 1 - 2 0.MB (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 tag[root]: ( 只可使用 unassigned, boot, root, swap, usr, backup, stand, var, home, alternates ) Enter partition permission flags[wm]: ( wm - read-write, mountable,wu - read-write, unmountable,rm - read-only, mountable,ru - read-only, unmountable ) Enter new starting cyl[0]: 3 ( ? Part 8 - 9 可以看到Cylinders 0 - 2 已经给系统使用,所以要 由 3 开始 ) Enter partition size[0b, 0c, 0.mb, 0.gb]: ? Expecting up to blocks, cylinders, . megabytes, or . gigabytes Enter partition size[0b, 0c, 0.mb, 0.gb]: b partition> print Current partition table (cyl): Total disk cylinders available: + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 root wm 3 - .GB (/0/0) 1 swap wu 0 0 (0/0/0) 0 2 backup wu 0 - .GB (/0/0) 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.MB (1/0/0) 9 alternates wm 1 - 2 0.MB (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: sectors in cylinders of tracks, sectors .9MB in cyl groups ( c/g, .MB/g, i/g) super-block backups (for fsck -F ufs -o b=#) at: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,, , , , , 现在打算把 /dev/rdsk/c0d0s0 mount 在 /mnt/newhd # cd /mnt # mkdir newhd 在 /etc/vfstab Auto mount 的设定 device to mount = /dev/dsk/c0d0s0 device to fsck = /dev/rdsk/c0d0s0 mount point = /mnt/newhd FS type = ufs fsck pass = 1 mount at boot = yes mount options = - # pico vfstab or vi vfstab 加入 /dev/dsk/c0d0s0 /dev/rdsk/c0d0s0 /mnt/newhd ufs 1 yes - # mount /mnt/newhd 完成 ! Good luck!

Solaris系统下使用u盘和移动硬盘 1、直接插上u盘,然后ls-l/dev/usb,看是否发现usb设备。2、在/etc/dsk里查询到usb对应的设备名称(ls-l/dev/dsk)3、直接monunt-Fpcfs/dev/dsk/c1t0d0s0/mnt然后就可以了。

solaris下VNC的安?方法 1.首先下?vnc-3.3.3r2_sun4_sosV_5.5.tgz用tar命令解压缩,tar-xvfvnc-3.3.3r2_sun4_sosV_5.5.tgzcdvnc-3.3.3r2_sun4_sosV_5.5mkdir-p/usr/local/vnc/classes建立一个目录cpclasses/*/usr/local/vnc/c

solari9.0下图形界面相关知识 1.solaris图形配置地方/etc/openwin/server/etc/OWconfig2.自动启动图形关闭自动启动图形/usr/dt/bin/dtconfig-d允许自动启动图形/usr/dt/bin/dtconfig-e3.不启动图形界面dtconf

标签: solaris删除文件命令

本文链接地址:https://www.jiuchutong.com/biancheng/354237.html 转载请保留说明!

上一篇:Solaris 10 OS 快速安?配置 Apache + Mysql + php(solaris ssh offline)

下一篇:Solaris系统下使用u盘和移动硬盘(solaris 11.4)

  • 二手房交易需缴纳哪些费用
  • 企业所得税行业所得率
  • 应纳税所得额是含税还是不含税
  • 去年的电费可以在今年入账分录
  • 综合收益什么时候结算
  • 社保费个人承担部分
  • 公司租用私人汽车违法吗
  • 税金及附加包括什么
  • 建行分期通
  • 工程的管理费收入怎么算
  • 收回已转销的坏账在借方还是贷方
  • 建筑业营改增的主要内容
  • 民非企业购买低保政策
  • 未入账的记账凭证有误处理方法
  • 员工考试报名费计入什么科目
  • 个体户生产经营所得税税率表
  • 劳动争议的解决途径不可以直接选择的是
  • 实收资本印花税怎么申报税目
  • 为什么查询发票显示查无此票
  • 报个税系统叫啥
  • 印花税减半优惠政策2019
  • 加盟商的作用
  • 开模具公司要什么设备
  • 无票收入报税后,后期又开票出去怎么处理?
  • 外聘人才一次性工资费用入账什么分录?
  • 自建商品房转为自用增值税
  • win11dns电脑服务器未响应如何处理
  • 什么情况下公司可以开除员工
  • 现在windows11
  • h5移动端上传pdf
  • 应交税金 应交税费
  • 海关专用缴款书认证的步骤和说明
  • 贷款的减值会计怎么做账
  • 长期股权投资投资收益计算
  • el-table懒加载合并行
  • PHP5.5.15+Apache2.4.10+MySQL5.6.20配置方法分享
  • 研发支出属于哪个表
  • 小规模建筑公司经营范围大全
  • 应收账款保理会计处理相关会计准则
  • 公司抽奖奖品怎么做账
  • 长期待摊费用账务处理
  • 离职员工的个税忘记申报了补申报会被处罚吗
  • 结转清理损失会计分录
  • sqlserver存储过程声明变量
  • 贷款的利息可以不还吗
  • 应付现金股利属于什么账户
  • 记账软件多少钱一套
  • 单位购买的化妆品怎么用
  • 值税多缴税款能退回来吗
  • 开普通发票税率一般是多少?
  • 机械租赁的主要工作内容
  • 油卡预付卡发票能入费用吗怎么入账
  • 手工账做账流程总结
  • 研发支出资本化支出期末怎么处理
  • 资产折旧的计税基础
  • 工商营业执照变更网上怎么操作
  • 核定征收的小微企业
  • 商业承兑汇票是什么
  • win10新预览版
  • 挂载光驱的命令
  • mac怎样修改用户名
  • xp administrator隐藏如何找回解决方案
  • vmware下载不了
  • win8系统怎么搜索软件
  • win10飞行模式开关是灰色的
  • 微软最新新闻
  • 塔防类的网游
  • 分享一些常用的文件
  • 自定义dialogfragment
  • node中的事件循环
  • document.write与writeln的输出内容区别说明
  • javascript中函数的作用域分为全局作用域
  • html伸缩布局
  • android 圆形图片
  • 重庆电子税务局怎么绑定办税人员
  • 如何查询以前月份发票超限量的申请
  • 乌市社保缴费一个月多少钱
  • 日本各界
  • 2021年十大慈善企业
  • 企业收到上一年增值税
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设