From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,371922f7bbe6a237 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: You're lost in a maze of twisty little AdvFS concepts, all alike :-) Date: 1997/05/10 Message-ID: <5l2jog$cbe@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 240744359 Distribution: world References: Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1 In article , roy@popmail.med.nyu.edu (Roy Smith) writes: >We just got a couple of alphas running DU-4.0B. The new AdvFS and LSM >stuff looks pretty neat, but I'm not sure I've got it all straight. We're >going to be running oracle on this system, and it seems like there are a >variety of ways to manage the storage space of several physical disks. > >I could combine all the disks into a single logical volume using LSM. I >could then build either a UFS or an AdvFS file system on this logical >volume and use it for my oracle tablespace. > > [ other options deleted... ] You have a good grasp of the options. But, you've over simplied the options a little by skipping over specific features; Mirroring, striping and volume concatenation. You could simply glue all the disks together into one big volume and use it for raw space or a big file system (using device concatenation). But then your I/O wouldn't necessarily spread evenly among the disks. And if you happen to lose one disk then you basically lose the whole volume. Unless you have an array controller, the only way to get mirroring to use LSM (*). To LSM's disadvantage it does mirroring at the top instead of bottom of the device stack, so you have to stripe or concatenate half your devices together and mirror them to the other half. Annoying at times but better than not having mirroring at all. So, if you want mirroring use LSM. AdvFS supports FILE striping. To use it you create an empty file and then use the stripe command to tell AdvFS how many physical volumes you want it spread over. As the file is fill, AdvFS takes care of the data distribution. If you only have a few files you need striped and can pre-create them, this works fine. If you want all files on a volume striped, then you want to use LSM again. Or, if you want your Oracle database on one big raw device and want the benefits of striping. If you don't need either feature and want your data on top of a single big file system, then ignore LSM and just AdvFS to create a big domain. If you have the utilities and find you'll benefit from striping selected files you can use that later. >-- >Roy Smith > >Copyright 1997 Roy Smith >For-profit redistribution prohibited -- Alan Rollow alan@nabeth.cxo.dec.com