From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a1d6a1fb52d6462b X-Google-Attributes: gidfee84,public From: Matthew Tovey Subject: Re: 1 Large LSM Volume Date: 1997/01/30 Message-ID: <32F08E0F.4287@mail.cern.ch>#1/1 X-Deja-AN: 213206546 sender: news@news.cern.ch (USENET News System) x-nntp-posting-host: axpdp1.cern.ch references: to: "Melvin C. Etheridge" content-type: text/plain; charset=us-ascii organization: CERN mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 3.01Gold (X11; I; OSF1 V3.2 alpha) Melvin C. Etheridge wrote: > > How can I get one large 18 gig volume using LSM > I have set up the group rootdg and added two 9.1 gig drives (rz8 & rz9) to > that group. > > However, the largest filesystem I can mount is just over 2 megs! > > How do I get a continuos 18 gig files system??? This is the procedure I use to create large filesystems with LSM. (example uses RZ74s and 5 disks: rz10c rz18c rz26c rz34c rz42c). - Note that if the disks are already in LSM, remove them completely. Removing them from the 'rootdg' window is not enough. Remove them from the 'View of disks' window as well. You will probably have to exit from 'dxlsm' before you can do the next step (dxlsm keeps the disk open, preventing partitions from being changed). - Put a default disklabel on the disks. disklabel -rw rz34 RZ74 - Use voldiskadd to add each disk into LSM from the command line. voldiskadd rz34c initialise? yes diskgroup? rootdg disk name? rz34c - Build the volume from the command line. volassist -U fsgen make 34879040b alloc=0 align=0 \ layout=stripe nstripe=5 stripe_width=64 rz10c rz18c rz26c \ rz34c rz42c This command builds a volume, striped over five disks. The figure '34879040b' determines the size of the volume. You will probably have to play with this to get it right - start with a high number approximately equal to the number of blocks you have available, and work down till it works! - Now create the filesystem on the volume newfs -i 1766400 -c 64 /dev/vol/ RZ74 I have large files on these volumes, so I use a large value for -i since I don't need many inodes. -c 64 gives more cylinders per group, you don't need a few hundred copies of the superblock, do you? All done! Probably the most important part of this is using 'disklabel' and 'voldiskadd' to install the disks in LSM. The other methods available to do so are less simple, and prone to going wrong (at least when I try them!). The building of the volume can probably be done just as easily from the GUI. Mount and enjoy! Matt -- Matt Tovey http://wwwcn.cern.ch/~mtovey Budget: A method for going broke methodically.