LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-23-2013, 03:47 AM   #1
j0289776
LQ Newbie
 
Registered: Dec 2013
Posts: 4

Rep: Reputation: Disabled
Linux servers has the block size limited to 64KB


Hello

I’ve noticed that one of our Linux servers has the block size limited to 64KB. This problem is affecting our backups ro tape via tar command and we noticed the following error messages in the /var/logs/messages:

Dec 16 21:22:58 aoeptta02-rprbck02 kernel: st4: Block limits 1 - 8388608 bytes.
Dec 16 21:47:05 aoeptta02-rprbck02 kernel: st4: Failed to read 131072 byte block with 32768 byte transfer.
Dec 16 21:49:37 aoeptta02-rprbck02 kernel: st2: Failed to read 131072 byte block with 32768 byte transfer.
Dec 16 21:56:58 aoeptta02-rprbck02 kernel: st2: Failed to read 131072 byte block with 32768 byte transfer.
Dec 16 21:57:03 aoeptta02-rprbck02 kernel: st9: Failed to read 131072 byte block with 32768 byte transfer.
Dec 16 21:57:33 aoeptta02-rprbck02 kernel: st5: Block limits 1 - 8388608 bytes.
Dec 17 01:40:36 aoeptta02-rprbck02 kernel: st1: Block limits 1 - 8388608 bytes.
Dec 17 01:59:42 aoeptta02-rprbck02 kernel: st1: Failed to read 131072 byte block with 32768 byte transfer.
Dec 17 02:11:04 aoeptta02-rprbck02 kernel: st6: Failed to read 131072 byte block with 32768 byte transfer.
Dec 17 10:57:33 aoeptta02-rprbck02 kernel: st0: Block limits 1 - 8388608 bytes.

Can you guys please help us to fix this problem?

Best regards,
 
Old 12-26-2013, 03:47 AM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
I believe Quota is implemented on the partition you are using for backup with block limits.

Can you show the o/p for
Code:
# mount
# repquota /partition/
 
Old 12-26-2013, 05:22 AM   #3
j0289776
LQ Newbie
 
Registered: Dec 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello,

It seams to me that there are no quota implemented. Here got the o/p:

[root@aoeptta02-rprbck02 ~]# mount
/dev/cciss/c0d0p2 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/cciss/c0d0p7 on /nsr type ext3 (rw)
/dev/cciss/c0d0p5 on /tmp type ext3 (rw)
/dev/cciss/c0d0p3 on /usr type ext3 (rw)
/dev/cciss/c0d0p1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)


[root@aoeptta02-rprbck02 ~]# repquota /nsr
repquota: Mountpoint (or device) /nsr not found.
repquota: Not all specified mountpoints are using quota.
 
Old 12-26-2013, 05:29 AM   #4
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Follow this link, as it explains the solution and cause to your issue

https://access.redhat.com/site/solutions/270603
 
Old 12-26-2013, 06:36 AM   #5
j0289776
LQ Newbie
 
Registered: Dec 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello deep27ak,

Thank you very much for your help. The only issue is that I'm not subscribed (it requires Red Hat Enterprise subscription) so I can't access the article even after login. Can you please help me on this matter?

Besr regards,
 
Old 12-26-2013, 09:56 PM   #6
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
I will post the resolution as per Red Hat

The error message "st0 failed to read 131072 byte block with 32768 byte transfer" is highlighting that:

the application requested 32k read block size
the tape drive has reported back that the data on the tape was written using a 128k block size
it was therefore unable to read the remaining 75% of the block, ie, 96k
it reported this to userspace because data is lost during the transfer
It may be that this is occurring only at the beginning of read operations at the start of tapes, perhaps because some initial header blocks may be special sizes. It may therefore be possible to change the logical block size in the application to compensate for this variation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C: Get raw size of Linux block device hydraMax Programming 3 10-30-2010 08:15 AM
making dynamic memory as 64kB aligned in C lang skaushal_lk Programming 3 08-17-2010 07:23 AM
why is process's maximum virtual memory size limited to 1.2GB on PPC64 wagaboy Linux - Software 3 06-26-2010 06:50 AM
block access to other proxy servers jymbo Linux - Networking 4 07-06-2004 01:59 PM
Why Linux returns the device size for 1 block more when it could be read?? fa3a Programming 1 01-29-2004 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration