免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3287 | 回复: 6
打印 上一主题 下一主题

The chunk name = the dev name? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-03-17 17:48 |只看该作者 |倒序浏览
To create a raw device, configure a block device (hard disk) with a raw
interface. The storage space that the device provides is called raw disk space.
A chunk of raw disk space is physically contiguous.
The name of the chunk is the name of the character-special file in the /dev
directory. In many operating systems, you can distinguish the characterspecial
file from the block-special file by the first letter in the filename
(typically r). For example, /dev/rsd0f is the character-special device that
corresponds to the /dev/sd0f block-special device.

今天在IDS admin guid看到这么一句话,为了避免断章取义
我将全文摘录下来

这句话感觉是错的
The name of the chunk is the name of the character-special file in the /dev directory

从网上弄来一个经典的的onspace命令
onspace -c -d workdbs -p /dev/rdsk/0s2 -o 100000 -s 100000
onspace -c -d tmpdbs -p  /dev/rdsk/0s2 -o 200000 -s 100000
onspace -a    workdbs -p /dev/rdsk/0s2 -o 100000 -s 100000

同样一个设备名称
/dev/rdsk/0s2

请问对应哪个chunk呢?

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
2 [报告]
发表于 2010-03-17 18:10 |只看该作者
加上 offset ~

论坛徽章:
0
3 [报告]
发表于 2010-03-19 09:42 |只看该作者
请问,那这样理解是否正确
pathname ,size,offset 唯一标示一个 chunk?

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
4 [报告]
发表于 2010-03-19 11:54 |只看该作者
请问,那这样理解是否正确
pathname ,size,offset 唯一标示一个 chunk?
jayli426 发表于 2010-03-19 09:42



    是的~要是3个数值间存在交叉,那么CHUNK中的数据将会错乱..

论坛徽章:
0
5 [报告]
发表于 2010-03-19 15:14 |只看该作者
呵呵,但是容小弟抬杠一把

"The name of the chunk is the name of the character-special file in the /dev directory"

这个话明显还是不对啊
因为一个character file 上明显可以对应多个chunk啊
至少让我这个初学者产生误解
但是感谢 大虾为我这个初学者澄清概念

论坛徽章:
11
金牛座
日期:2015-03-19 16:56:22数据库技术版块每日发帖之星
日期:2016-08-02 06:20:00数据库技术版块每日发帖之星
日期:2016-04-24 06:20:00数据库技术版块每日发帖之星
日期:2016-04-13 06:20:00IT运维版块每日发帖之星
日期:2016-04-13 06:20:00数据库技术版块每日发帖之星
日期:2016-02-03 06:20:00数据库技术版块每日发帖之星
日期:2015-08-06 06:20:00季节之章:春
日期:2015-03-27 15:54:57羊年新春福章
日期:2015-03-27 15:54:37戌狗
日期:2015-03-19 16:56:41数据库技术版块每日发帖之星
日期:2016-08-18 06:20:00
6 [报告]
发表于 2010-03-19 15:25 |只看该作者
呵呵,但是容小弟抬杠一把

"The name of the chunk is the name of the character-special file in th ...
jayli426 发表于 2010-03-19 15:14



    IBM的文档又不是100%没问题~能看到有问题,那就说明你明白了呗~

你权当这里说的是个例子而已,而你说的就是特例了..

论坛徽章:
0
7 [报告]
发表于 2010-03-19 15:32 |只看该作者
大虾就是大侠
孟子曰“尽信书不如无书”
大概就是说的 大虾这样的 prophet吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP