From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3847b078932499f9 X-Google-Attributes: gidfee84,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: Re: LSM under Digital Unix 4.0D Date: 1998/03/24 Message-ID: <6f9a4l$ttr@dogbert.cc.ndsu.NoDak.edu>#1/1 X-Deja-AN: 337308093 References: <3516DDD0.740B2942@bcm.tmc.edu> Organization: North Dakota Higher Education Computing Network (NDHECN) Newsgroups: comp.unix.osf.osf1 In article <3516DDD0.740B2942@bcm.tmc.edu>, Mingzuo Shen wrote: > Hello, > > We will be using LSM under Digital Unix 4.0D. > I have a few simple questions and I'd appreciate it if you > can answer them. > > * > Is Digital LSM really Veritas volume manager (VxVM)? > Completely identical but for the command names? > I used VxVM on Solaris before. > Or is it ported? > Or is it somewhere related? > Or is it completely unrelated. LSM *is* Digital's port of the Veritas volume management suite, VxVM. Most commands/ideas are very similar to vxvm, other than the command names being different. Note that VxFS, the Veritas Filesystem, is *not* part of Digital's port. Digital's AdvFS is their own filesystem. > * > Is it a good idea to use LSM to mirror the system disk (/ /usr swap)? > Even if there is a RAID controller in the box capable of hardware > mirroring? We are using LSM to mirror the important AdvFS file domains (/, /usr, swap). So far (... knock on wood ...) I haven't had to deal with a one of the two copies of any of our OS volumes failing, so I don't know if there are any serious "gotchas" in trying to do the recovery. I think in general it's much easier, from a recovery point of view, to do this kind of thing in hardware (i.e. use a RAID 5 set or hardware mirroring). However, there are at least two reasons why people might elect to use LSM anyway: 1) your LSM plexes (copies) can be on different controllers, so even if you lose a SCSI controller you can (in theory) keep the machine up until a convenient time to take it down and replace the controller. 2) I've heard that some sites, when doing an OS update of a machine, will stop mirroring, do the update, and then wait and see how things work out. If the update proceeded correctly, they enable mirroring again. If it didn't proceed correctly, they boot off the old mirrors and they're back in business. > I guess the procedure of using LSM on root disk is: > install Unix on disk-a, > set up LSM, > mirror disk-a to disk-b? You have to go through the volume encapsulation process, but otherwise you're on the right track. I recommend you get the Logical Storage Manager guide, if you don't have it already. > * > OK, not related to LSM. > How common is it to use /var as a real partition, > vs. using /var as symlink to /usr/var. > On Solaris, the usual convention is to use a partition for /var. Depends on the system, but I usually make /var be a separate partition or a separate AdvFS file domain. It's nice to get /var on a different disk from some of your other busy filesystems, so you don't run into disk contention problems on a busy system. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164