* 1 Large LSM Volume
@ 1997-01-22 5:00 Melvin C. Etheridge
1997-01-30 5:00 ` Matthew Tovey
0 siblings, 1 reply; 2+ messages in thread
From: Melvin C. Etheridge @ 1997-01-22 5:00 UTC (permalink / raw)
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???
Mel
--
Melvin C. Etheridge
Operations Mgr&HostMaster
TelCoNet, Inc.
http://www.telconet.com
http://www.goldstag.com
http://www.bulloch.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 1 Large LSM Volume
1997-01-22 5:00 1 Large LSM Volume Melvin C. Etheridge
@ 1997-01-30 5:00 ` Matthew Tovey
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Tovey @ 1997-01-30 5:00 UTC (permalink / raw)
To: Melvin C. Etheridge
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-01-30 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-22 5:00 1 Large LSM Volume Melvin C. Etheridge
1997-01-30 5:00 ` Matthew Tovey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox