D3/Linux resizing...

閲覧: 110 回
最初の未読メッセージにスキップ

geneb

未読、
2017/01/18 9:26:172017/01/18
To: mvd...@googlegroups.com

I'm trying to get all the files within a system properly sized.

Currently, these are the steps that I take:

SAVE (DFSXY
F-RESIZE
FILE-SAVE

Followed by a full restore from the "F" option when starting D3.

Now it's my understanding that the F-RESIZE command is going to work out
a recommended modulo for the items stored in the FOF by the SAVE (DFSXY
process.

The problem is that the value it stores in attr 13 is identical to the
current modulo for the file and not a useful value (say something returned
by doing an ISTAT <file> (S )

What am I missing here?

tnx!

g.


--
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
http://www.diy-cockpits.org/coll - Go Collimated or Go Home.
Some people collect things for a hobby. Geeks collect hobbies.

ScarletDME - The red hot Data Management Environment
A Multi-Value database for the masses, not the classes.
http://scarlet.deltasoft.com - Get it _today_!

Ross Ferris

未読、
2017/01/20 3:36:162017/01/20
To: Pick and MultiValue Databases
If you are checking this AFTER the restore, it means it worked! If before, coild just be file is sized correctly.

If you dont like how the process works, copy the code & change to suit (and remember with recent versions of D3 you can also resize online whilst file is in use)

Ross Ferris

未読、
2017/01/20 3:36:162017/01/20
To: Pick and MultiValue Databases

Ross Ferris

未読、
2017/01/20 3:36:182017/01/20
To: Pick and MultiValue Databases

geneb

未読、
2017/01/20 8:41:072017/01/20
To: Pick and MultiValue Databases
On Fri, 20 Jan 2017, Ross Ferris wrote:

> If you are checking this AFTER the restore, it means it worked! If
> before, coild just be file is sized correctly.
>
The problem is that when I check the file after the restore, the modulo of
the file is the same as it was before I started.

> If you dont like how the process works, copy the code & change to suit
> (and remember with recent versions of D3 you can also resize online
> whilst file is in use)

I've done live resizes in the past, but as far as I know, resize won't
resize down, only up.

tnx.

Glen Batchelor

未読、
2017/01/20 10:51:062017/01/20
To: mvd...@googlegroups.com

You need to do the F-resize before you save, not after. f-resize changes the FOF modulos.

geneb

未読、
2017/01/20 12:31:172017/01/20
To: mvd...@googlegroups.com
On Fri, 20 Jan 2017, Glen Batchelor wrote:

> You need to do the F-resize before you save, not after. f-resize changes
> the FOF modulos.
>
So it's:
F-RESIZE
SAVE (DFSXY
FILE-SAVE
?

Glen Batchelor

未読、
2017/01/20 12:37:182017/01/20
To: mvd...@googlegroups.com
I've never done the 'save' step. I just ran f-resize, backup and restore.

geneb

未読、
2017/01/20 12:39:532017/01/20
To: mvd...@googlegroups.com
On Fri, 20 Jan 2017, Glen Batchelor wrote:

> I've never done the 'save' step. I just ran f-resize, backup and restore.
>
Ok. I'll give it a shot. If it blows up, I'll throw you under the bus.
:)

Glen Batchelor

未読、
2017/01/20 12:40:542017/01/20
To: mvd...@googlegroups.com
I am bus-proof after 20 years dealing with users.. Try a dozer maybe.

geneb

未読、
2017/01/20 12:47:262017/01/20
To: mvd...@googlegroups.com
On Fri, 20 Jan 2017, Glen Batchelor wrote:

> I am bus-proof after 20 years dealing with users.. Try a dozer maybe.
>
Noted. :)

When I ran F-RESIZE it only noted about 10 files, none of which I actually
need resized. We'll see I guess.

Glen Batchelor

未読、
2017/01/20 12:51:532017/01/20
To: mvd...@googlegroups.com

Some may already be flagged for the file-save modulo refresh from your last run, but didn't get resized. Make sure you don't answer "yes" to "disable file (re)allocation"

Glen Batchelor

未読、
2017/01/20 12:54:062017/01/20
To: mvd...@googlegroups.com
oh.. and you don't have to restart to reload the files from the console start-up menu just use :files from TCL.

On Fri, Jan 20, 2017 at 12:47 PM, geneb <ge...@deltasoft.com> wrote:

geneb

未読、
2017/01/20 13:15:342017/01/20
To: mvd...@googlegroups.com
On Fri, 20 Jan 2017, Glen Batchelor wrote:

> Some may already be flagged for the file-save modulo refresh from your last
> run, but didn't get resized. Make sure you don't answer "yes" to "disable
> file (re)allocation"

Yep. It's generating indexes right now - it takes roughly 10-15 minutes
to do the save and 30+ for the index generation. :)

geneb

未読、
2017/01/20 13:16:082017/01/20
To: mvd...@googlegroups.com
On Fri, 20 Jan 2017, Glen Batchelor wrote:

> oh.. and you don't have to restart to reload the files from the console
> start-up menu just use :files from TCL.
>
Ah, I didn't know that. Thanks.

geneb

未読、
2017/01/20 13:35:452017/01/20
To: mvd...@googlegroups.com

So F-RESIZE, FILE-SAVE, restore had no effect on the file I checked.
Running F-RESIZE listed no items.

Suggestions?

Glen Batchelor

未読、
2017/01/20 13:37:412017/01/20
To: mvd...@googlegroups.com

I wrote a modulo-variance reporting and resizing tool if you want to let it run through and obtain the current modulos. It runs resize, so you can't downsize the files. You'd have to do that manually and then restore after upsizing files.

geneb

未読、
2017/01/20 13:42:432017/01/20
To: mvd...@googlegroups.com
On Fri, 20 Jan 2017, Glen Batchelor wrote:

> I wrote a modulo-variance reporting and resizing tool if you want to let it
> run through and obtain the current modulos. It runs resize, so you can't
> downsize the files. You'd have to do that manually and then restore after
> upsizing files.

I have to "reset" a system to zero - empty files. For example, I'd be
going from a modulo of 120863 to 10ish. :) There's over 200 files that
need to be "downsized" like this after they're cleared. (My understanding
is having too large a modulo is just as bad as having one that's too
small).

Is there a tool that will resize down?

Glen Batchelor

未読、
2017/01/20 13:47:442017/01/20
To: mvd...@googlegroups.com
negative. You can script a create-file, copy, delete-file, rename-file one-off to handle that though without taking the system down.

Ross Ferris

未読、
2017/01/20 15:19:342017/01/20
To: Pick and MultiValue Databases
I believe you will need an "e" option to resuze empty files

f-resize {(options}
Options a Resize one account
e Force resize of empty files. As a default, empty files are ignored by the f-resize program.
p Directs output to the system printer, via the Spooler.
r{frame.size} ("r", followed by a frame size) Resizes files according to the frame size specified. If frame.size is not specified, the frame size of the current system is used.
u Specifies that no downsizing will take place.

geneb

未読、
2017/01/20 15:46:582017/01/20
To: mvd...@googlegroups.com
On Fri, 20 Jan 2017, Glen Batchelor wrote:

> negative. You can script a create-file, copy, delete-file, rename-file
> one-off to handle that though without taking the system down.
>
I'd rather not do that....

Crap.

geneb

未読、
2017/01/20 15:49:302017/01/20
To: Pick and MultiValue Databases
Ross, the issue I currently have is that F-RESIZE isn't having _any_
effect at all.

Glen Batchelor

未読、
2017/01/20 15:55:472017/01/20
To: mvd...@googlegroups.com

    Maybe it's due to the inauguration today. From the terror and rioting I guess the world is supposed to implode or something. :)

geneb

未読、
2017/01/20 16:12:012017/01/20
To: mvd...@googlegroups.com
On Fri, 20 Jan 2017, Glen Batchelor wrote:

> Maybe it's due to the inauguration today. From the terror and rioting I
> guess the world is supposed to implode or something. :)
>
Oh that's right, we're all supposed to die in a cloud of cheeto dust. :)
全員に返信
投稿者に返信
転送
新着メール 0 件