Re: SCSI tape block size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 1 Oct 2006, Kai Makisara wrote:

> On Sat, 30 Sep 2006, Guennadi Liakhovetski wrote:
> 
> > Kai, as st maintainer, you surely know - on my tape HP C1533A I cannot 
> > seem to set up any block size other than 1 byte... Is it __really__ 1 byte 
> > or is it just some fixed block size that the drive doesn't report and 
> > cannot change? And it means I cannot test setting of different block 
> > sizes? I have a (unconnected ATM) slightly newer C1555D, wonder if that 
> > could use different block sizes?...
> > 
> This is interesting. I also have HP C1533A (firmware 9608) and I have not 
> had any problems with setting the block size. Dmesg shows that the drive 
> supports blocks up to 1<<24 - 1 bytes:
> st0: Block limits 1 - 16777215 bytes.
> 
> I just tested with kernel 2.6.18 that setting block size works in my 
> system.

I must have done something wrong yesterday. Sorry. It does work indeed, 
tested with

mt -f /dev/st0 setblk `expr $bs \* 1024`
time tar cf /dev/st0 -b `expr $bs \* 2` *jp*
mt -f /dev/st0 status

I can set block size as high as 512k (.max_sectors defaulting to 1024) 
independent of .use_clustering. Only setting .max_sectors higher lets one 
use larger blocks.

Thanks
Guennadi
---
Guennadi Liakhovetski
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux