Use a whole share disk for the ldom vdisk

Use a whole disk for the ldom vdisk, the disk's partition looks like as follows:

 

partition> print
Current partition table (original):
Total disk cylinders available: 32766 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0 unassigned    wm       0                0         (0/0/0)           0
  1 unassigned    wm       0                0         (0/0/0)           0
  2     backup    wu       0 - 32765     1023.94MB    (32766/0/0) 2097024
  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 unassigned    wm       0                0         (0/0/0)           0
  7          -    wu       0 - 32765     1023.94MB    (32766/0/0) 2097024

 

i.e. slice 2 map the whole disk's space. so we just add c3t5006016830232106d0s2 as the whole disk.

 

ldm add-vdsdev  /dev/dsk/c3t5006016830232106d6s2 disk1@primary-vds0

 

ldom treat c3t5006016830232106d0s2 as the whole disk, if you wanna add slice2, you must use the slice option.

 

ldm add-vdsdev  options=slice /dev/dsk/c3t5006016830232106d6s2 disk1@primary-vds0

 

After install OS inside ldom, the format looks like as below:

 

partition> pr
Current partition table (original):
Total disk cylinders available: 38910 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 - 16383        8.00GB    (16384/0/0) 16777216           >>> root fs
  1       swap    wu   16384 - 20479        2.00GB    (4096/0/0)   4194304        >>> swap fs
  2     backup    wm       0 - 38909       19.00GB    (38910/0/0) 39843840

  3 unassigned    wm       0                0         (0/0/0)            0
  4 unassigned    wm       0                0         (0/0/0)            0
  5 unassigned    wm   20480 - 38909        9.00GB    (18430/0/0) 18872320  >>> opt fs
  6 unassigned    wm       0                0         (0/0/0)            0
  7 unassigned    wm       0                0         (0/0/0)            0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值