Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Matthew Tovey <mtovey@mail.cern.ch>
To: "Melvin C. Etheridge" <mele@goldstag.com>
Subject: Re: 1 Large LSM Volume
Date: 1997/01/30	[thread overview]
Message-ID: <32F08E0F.4287@mail.cern.ch> (raw)
In-Reply-To: mele-2201971317080001@dial7.bulloch.net


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 <vol_name> 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/<vol_name> 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.



      reply	other threads:[~1997-01-30  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-22  5:00 1 Large LSM Volume Melvin C. Etheridge
1997-01-30  5:00 ` Matthew Tovey [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox