[ 
https://issues.apache.org/jira/browse/TS-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033705#comment-13033705
 ] 

Leif Hedstrom commented on TS-773:
----------------------------------

I've tested this with 2x 2TB disks, that I mounted using a USB adaptor on my 
host (I'm assuming that shouldn't matter). In any case, trying it, I get a 
segfault:

[May 15 09:25:58.284] Server {140021139494656} NOTE: clearing cache directory 
'/dev/sdh 368640:244181087'
NOTE: Traffic Server received Sig 11: Segmentation fault
./bin/traffic_server - STACK TRACE: 
Segmentation fault


(gdb) bt
#0  __memset_sse2 () at ../sysdeps/x86_64/memset.S:65
#1  0x00000000006488f8 in vol_clear_init (d=0x7fffe40042c0) at Cache.cc:982
#2  0x000000000064b84e in Vol::clear_dir (this=<value optimized out>) at 
Cache.cc:1014
#3  0x000000000064f928 in Vol::handle_header_read (this=0x7fffe40042c0, 
event=<value optimized out>, 
    data=<value optimized out>) at Cache.cc:1487
#4  0x0000000000652a15 in handleEvent (this=<value optimized out>, event=<value 
optimized out>, 
    data=<value optimized out>) at ../../iocore/eventsystem/I_Continuation.h:146
#5  AIOCallbackInternal::io_complete (this=<value optimized out>, event=<value 
optimized out>, 
    data=<value optimized out>) at ../../iocore/aio/P_AIO.h:80
#6  0x00000000006dd7ee in handleEvent (this=0x7ffff711a010, e=0xf9a070, 
calling_code=1) at I_Continuation.h:146
#7  EThread::process_event (this=0x7ffff711a010, e=0xf9a070, calling_code=1) at 
UnixEThread.cc:140
#8  0x00000000006de2d3 in EThread::execute (this=0x7ffff711a010) at 
UnixEThread.cc:232
#9  0x00000000006dd42a in spawn_thread_internal (a=0xf83f90) at Thread.cc:85
#10 0x0000003c5de06ccb in start_thread (arg=0x7ffff670f700) at 
pthread_create.c:301
#11 0x0000003c5d2e0c2d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:115


> Traffic server has a hard limit of 512 gigabytes per RAW disk partition
> -----------------------------------------------------------------------
>
>                 Key: TS-773
>                 URL: https://issues.apache.org/jira/browse/TS-773
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 2.1.8
>         Environment: Debian Lenny 5.0.8 2.6.34.7 x86_64
> 12 1.5TB harddrives for cache disks. 
>            Reporter: David Robinson
>            Assignee: John Plevyak
>             Fix For: 2.1.9
>
>
> Using 1.5TB harddrives as cache disks results in ATS only using 512GBs of the 
> disk. The disks are configured in RAW mode with no partition information.
> storage.config is setup like this,
> /dev/sda
> /dev/sdb
> /dev/sde
> /dev/sdf
> /dev/sdh
> /dev/sdi
> /dev/sdj
> /dev/sdk
> /dev/sdl
> /dev/sdm
> /dev/sdn
> /dev/sdo
> fdisk -l /dev/sdo
> Disk /dev/sdo: 1500.3 GB, 1500301910016 bytes
> 255 heads, 63 sectors/track, 182401 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Disk identifier: 0x00000000
> Partitioning a disk into 3 512G partition and adding then to storage.config 
> will make ATS use the entire 1.5TBs of space.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to