注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

欢迎光临我的博客

 
 
 

日志

 
 

solaris下挂载文件系统  

2008-07-07 19:52:29|  分类: unix |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@0,0
       1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@1,0
       2. c1t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@2,0
       3. c1t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
          /pci@1f,700000/scsi@2/sd@3,0
       4. c3t5d0 <DGC-RAID5-0216 cyl 51198 alt 2 hd 256 sec 16>
          /pci@1d,700000/fibre-channel@2/sd@5,0
       5. c3t5d1 <DGC-RAID5-0216 cyl 61438 alt 2 hd 256 sec 20>
          /pci@1d,700000/fibre-channel@2/sd@5,1
       6. c3t5d2 <DGC-RAID5-0216 cyl 32894 alt 2 hd 256 sec 128>
          /pci@1d,700000/fibre-channel@2/sd@5,2
Specify disk (enter its number): 5
selecting c3t5d1
[disk formatted]


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
        repair     - repair a defective sector
        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
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
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
        !<cmd> - execute <cmd>, then return
        quit
partition> print
Current partition table (original):
Total disk cylinders available: 61438 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -    51      130.00MB    (52/0/0)       266240
  1       swap    wu      52 -   103      130.00MB    (52/0/0)       266240
  2     backup    wu       0 - 61437      150.00GB    (61438/0/0) 314562560
  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     104 - 61437      149.74GB    (61334/0/0) 314030080
  7 unassigned    wm       0                0         (0/0/0)             0

partition> q


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
        repair     - repair a defective sector
        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
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> q
# mkfs -F vxfs /dev/dsk/c3t5d1s6
UX:vxfs mkfs: ERROR: V-3-21190:  /dev/dsk/c3t5d1s6 is not a character special or
 a regular file
UX:vxfs mkfs: INFO: V-3-20147: Usage:
  mkfs [-F vxfs] [-V] -m special
  mkfs [-F vxfs] [-V] [-o [N] [bsize=#] [logsize=#]
                          [inosize=#]
                          [version=#]
                          [largefiles|nolargefiles]
                          special size
# mkfs -F vxfs /dev/rdsk/c3t5d1s6
    version 6 layout
    314030080 sectors, 157015040 blocks of size 1024, log size 65536 blocks
    largefiles supported
# mount -F vxfs /dev/dsk/c3t5d1s6 /test2008
# df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c1t0d0s0    20655529 10100313 10348661    50%    /
/devices                   0       0       0     0%    /devices
ctfs                       0       0       0     0%    /system/contract
proc                       0       0       0     0%    /proc
mnttab                     0       0       0     0%    /etc/mnttab
swap                 8805536    1096 8804440     1%    /etc/svc/volatile
objfs                      0       0       0     0%    /system/object
fd                         0       0       0     0%    /dev/fd
swap                 8804784     344 8804440     1%    /tmp
swap                 8804496      56 8804440     1%    /var/run
swap                 8804440       0 8804440     0%    /dev/vx/dmp
swap                 8804440       0 8804440     0%    /dev/vx/rdmp
/dev/dsk/c1t3d0s7    70592505 59676463 10210117    86%    /export/home0
/dev/dsk/c1t2d0s7    70592505 60407351 9479229    87%    /export/home1
/dev/dsk/c1t0d0s7    48894016 21991415 26413661    46%    /export/home
/dev/dsk/c3t5d0s6    104591360   91869 97968280     1%    /v440fs
/dev/dsk/c3t5d1s6    157015040  104720 147103432     1%    /test2008
# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1t0d0s0       20G   9.6G   9.9G    50%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   8.4G   1.1M   8.4G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
fd                       0K     0K     0K     0%    /dev/fd
swap                   8.4G   344K   8.4G     1%    /tmp
swap                   8.4G    56K   8.4G     1%    /var/run
swap                   8.4G     0K   8.4G     0%    /dev/vx/dmp
swap                   8.4G     0K   8.4G     0%    /dev/vx/rdmp
/dev/dsk/c1t3d0s7       67G    57G   9.7G    86%    /export/home0
/dev/dsk/c1t2d0s7       67G    58G   9.0G    87%    /export/home1
/dev/dsk/c1t0d0s7       47G    21G    25G    46%    /export/home
/dev/dsk/c3t5d0s6      100G    90M    93G     1%    /v440fs
/dev/dsk/c3t5d1s6      150G   102M   140G     1%    /test2008
#

  评论这张
 
阅读(445)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017