Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5608070
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类:

2006-10-17 11:37:13

Tape devices are generally split into two categories: fixed block and variable block.  1/4" tape is the fixed block, and 8mm is variable.

On a fixed block size device, the kernel always sends data to the device in suitable block size lumps, and varying the size passed to write(2)(e.g., via the bs option to dd) gives the kernel more data to stream. On a variable block size device, the kernel writes to the devicewhatever passed to it. On an 8mm, it had better be a multiple of 1024 to get efficient tape usage.

AIX has the World's Only Variable Block Size 1/4" tape drive. If you use SMIT to set the block size to a nonzero value,AIX treats the device as fixed block size, whether it is or not. By default, 8mm drives are set to the same size as 1/4", 512 bytes. This is wasteful, but otherwise mksysb and installp would fail.

If you set the block size to 0, the device is treated as variable block size, and the size passed to write becomes the physical block size. Then if you use a sensible block size to dd, all should be wonderful.
阅读(2632) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~