* Only one swap volume per disk group?
@ 1997-11-30 5:00 Arno Hahma
1997-12-03 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 1 reply; 3+ messages in thread
From: Arno Hahma @ 1997-11-30 5:00 UTC (permalink / raw)
I am trying to set up LSM and include swap partitions into the disk
volumes as well to be able to mirror them later. In fact, I already
managed that far. However, I ran into trouble, when I try
to create a swap volume:
volmake -Uswap vol swapvol2 plex=swapvol-02
volmake: Object swapvol2 already exists
However, there is no object by that name in the "volprint" list!
Changing any name in place of swapvol2 will give the same message. The
command succeeds, if there are no swap volumes defined in the disk
group previously. However, if there is, then volmake fails with the
above error.
Can you swap directly on the subdisks or plexes in a disk group? It
would be quite a job to extract the swap partitions out of the disk
groups and use conventional swapping on them. Digital Unix does support
more than two swap partitions, doesn't it? I thought you could just add
the plex or subdisk names directly into /etc/fstab. Is it possible?
According to the documents it is better to use individual swap areas
rather than a striped or concatenated volume. That is why I'd like to
use one swap partition on each physical disk (5 altogether) and through
LSM to enable mirroring later.
ArNO
2
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Only one swap volume per disk group?
1997-11-30 5:00 Only one swap volume per disk group? Arno Hahma
@ 1997-12-03 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1997-12-04 5:00 ` Arno Hahma
0 siblings, 1 reply; 3+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1997-12-03 5:00 UTC (permalink / raw)
In article <65shua$o4n@antares.utu.fi>, arno@antares.utu.fi (Arno Hahma) writes:
>Can you swap directly on the subdisks or plexes in a disk group?
Does it have a block device interface? If not, then you can't
swap to it. As far as I can tell only final volumes and the
original starting devices have block devices associated with
them.
>It
>would be quite a job to extract the swap partitions out of the disk
>groups and use conventional swapping on them. Digital Unix does support
>more than two swap partitions, doesn't it?
Yes it does.
>I thought you could just add
>the plex or subdisk names directly into /etc/fstab. Is it possible?
Which returns to the question of what is the name of a sub-disk or
plex; /dev/?. Since these components of LSM don't have special
files, they don't offer the necessary block interface.
>According to the documents it is better to use individual swap areas
>rather than a striped or concatenated volume. That is why I'd like to
>use one swap partition on each physical disk (5 altogether) and through
>LSM to enable mirroring later.
I can see not using a concatenated volume since it offers no
bandwidth or through-put advantages over a collection of devices
or a stripe set. I'm not sure why don't recommend a stripe set.
Depending on the paging and swapping load it could easily become
bandwidth limited and striping may have an advantage there. The
last I was told space allocation was done round robin and not
as a stripe set (which ULTRIX used). This would do well distributing
multiple paging I/Os among the devices, but if you one big swap
that tends to be bandwidth limited.
>
>ArNO
> 2
>
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Only one swap volume per disk group?
1997-12-03 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 1997-12-04 5:00 ` Arno Hahma
0 siblings, 0 replies; 3+ messages in thread
From: Arno Hahma @ 1997-12-04 5:00 UTC (permalink / raw)
In article <664iso$b6c@nntpd2.cxo.dec.com>,
Alan Rollow - Dr. File System's Home for Wayward Inodes. <alan@nabeth.cxo.dec.com> wrote:
>Which returns to the question of what is the name of a sub-disk or
>plex; /dev/?. Since these components of LSM don't have special
>files, they don't offer the necessary block interface.
True. It doesn't work. However, I did find a solution:
I had defined the use type for swap volumes in the LSM as "swap". If you
do that, you seem to be able to use only one swap volume per disk
group. However, if you define the use type as "gen", then you can add
as many of these areas as you wish.
>last I was told space allocation was done round robin and not
>as a stripe set (which ULTRIX used). This would do well distributing
Oh. I thought the swapping algorithm would use striping. So
did Solaris, too. Well, maybe it is better to set up a single
LSM striped volume for swap then. I'll give it a try, it is
easy now, as I already defined the swap areas as LSM volumes.
BTW, where is "troff" in DU 4.0x? I can't find troff anywhere,
it would be nice for printing man pages.
>Alan Rollow alan@nabeth.cxo.dec.com
ArNO
2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-12-04 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-30 5:00 Only one swap volume per disk group? Arno Hahma
1997-12-03 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1997-12-04 5:00 ` Arno Hahma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox