ADSM-L

using sata with sequential file preallocation - the answer

2005-01-28 17:21:54
Subject: using sata with sequential file preallocation - the answer
From: Steve Bennett <steve_bennett AT ADMIN.STATE.AK DOT US>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 28 Jan 2005 13:20:53 -0900
Well I setup a small test bed for this and think I see how it works.

All the seq files are defined to the storage pool and have a initial
size of whatever the dsmfmt used. As tsm needs to use these files, it
deletes one and allocates another and the file grows until it reaches
max size or the partition runs out of space. It then deletes the next
available file on that patition and uses that space until the partition
is full again. Then on to the next file, etc. When it finally runs out
of the available preallocated files it moves on to files in the next
partition.

Here is a question for all of you that are using large disk arrays with
stgpools using seq file type.

TSM server v5.2.3.2
Win2000

We are installing a 6tb sata raid5 array as an intermediate stgpool to
be used with sequential file type. The array will have 3 partitions of
2tb each and all files will have be preallocated because of the devclass
limitation of only using one partition dynamically. The hierarchy will
be local disk --> local attached sata --> tapepool.

Let's say I predefine 1000 files of 1gb each (1tb total out of 2tb
available) in each of the partitions and then set the devclass max
capacity to 20gb. When writing data to the intermediate stgpool TSM will
keep adding files up to 20gb each and up to 1000 files or until the
partition is full at something less than 1000 files.

With mostly 20gb files the partition will fill with about 100 files.
What happens next? Does TSM then use preallocated files in the next
available partition or does it give some sort of allocation error
because it hasn't used the 1000 files but has run out of space in the
first partition?

I guess another question might be, does TSM do some sort of round robin
use of files on the three partitions or does it use files on one
partition until it is forced to use files on the next partition?

--

Steve Bennett, (907) 465-5783
State of Alaska, Enterprise Technology Services, Technical Services Section

<Prev in Thread] Current Thread [Next in Thread>