* Can I create primary swap on non-system disk and/or non-b partition?
@ 2001-06-01 21:34 Wilson Guerrero-Coltters
2001-06-02 5:11 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-06-02 20:36 ` Jack Patteeuw
0 siblings, 2 replies; 4+ messages in thread
From: Wilson Guerrero-Coltters @ 2001-06-01 21:34 UTC (permalink / raw)
Hi Tru64 Gurus,
My first post in google.
I will be able to test the question on subject on Monday
and RTFM on weekend (after parties :-) ),
but... wouldn't be nice to have the question answered by
some of the experienced Tru64 systems administrators out there?
I want to know if this is possible:
#cat fstab
/dev/rz0a / ufs rw 1 1
#/dev/rz0b swap1 ufs sw 0 2
#primary swap, b partition,other disk
/dev/rz1b swap1 ufs sw 0 2
/dev/rz0g /usr ufs rw 1 2
/dev/rz0h /us1 ufs rw 1 3
AND/OR
#cat fstab
/dev/rz0a / ufs rw 1 1
#/dev/rz0b swap1 ufs sw 0 2
#primary swap, non-b partition,other disk
/dev/rz1c swap1 ufs sw 0 2
/dev/rz0g /usr ufs rw 1 2
/dev/rz0h /us1 ufs rw 1 3
from the man swapon
ln -s /dev/rzxy /sbin/swapdefault
The x variable specifies the device number for the device that holds the
primary swap partition, and the y variable specifies the swap partition.
***Usually***, the swap device number is the same as the boot device number, and
the primary swap partition is partition b.
That usually word tells me I can, but I wnat to be sure.
Regards,
Wilson.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can I create primary swap on non-system disk and/or non-b partition?
2001-06-01 21:34 Can I create primary swap on non-system disk and/or non-b partition? Wilson Guerrero-Coltters
@ 2001-06-02 5:11 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-06-04 22:50 ` Wilson Guerrero-Coltters
2001-06-02 20:36 ` Jack Patteeuw
1 sibling, 1 reply; 4+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2001-06-02 5:11 UTC (permalink / raw)
In article <6c30805d.0106011334.3d0104f4@posting.google.com>, wguerrero@csh.cl (Wilson Guerrero-Coltters) writes:
>Subject: Can I create primary swap on non-system disk and/or non-b partition?
>
>Hi Tru64 Gurus,
>
>My first post in google.
>I will be able to test the question on subject on Monday
>and RTFM on weekend (after parties :-) ),
>but... wouldn't be nice to have the question answered by
>some of the experienced Tru64 systems administrators out there?
>I want to know if this is possible:
>#cat fstab
>/dev/rz0a / ufs rw 1 1
>#/dev/rz0b swap1 ufs sw 0 2
>#primary swap, b partition,other disk
>/dev/rz1b swap1 ufs sw 0 2
In past versions (maybe only on ULTRIX), the primary dump space had to
be on the same disk as the root in order to use the console device
drivers to dump memory to disk in the event of a crash. Early versions
of DEC OSF/1 may have had this restriction or at least preference,
but I suspect the "usually" is an indication that it isn't required.
You can have more than one page/swap space, so unless you have
other plans for there's no particular reason not to use the B
partition on rz0.
Also, check the manual page for fstab to see if a leading # on a
line is a legal comment character. While it is for many similar
files, it may not be for this one. I know this was a problem
on ULTRIX. Habit has kept me from finding out on Tru64 UNIX.
If you want to keep a line in, but don't want it to be used,
use "xx" instead "rw", "sw", "ro" or "rq" in the appropriate
field.
>
>
>Regards,
>Wilson.
>
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can I create primary swap on non-system disk and/or non-b partition?
2001-06-02 5:11 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2001-06-04 22:50 ` Wilson Guerrero-Coltters
0 siblings, 0 replies; 4+ messages in thread
From: Wilson Guerrero-Coltters @ 2001-06-04 22:50 UTC (permalink / raw)
alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) wrote in message news:<Nz_R6.978$fi2.25471@news.cpqcorp.net>...
> In article <6c30805d.0106011334.3d0104f4@posting.google.com>, wguerrero@csh.cl (Wilson Guerrero-Coltters) writes:
>
> >Subject: Can I create primary swap on non-system disk and/or non-b partition?
> >
> >Hi Tru64 Gurus,
> >
> >My first post in google.
> >I will be able to test the question on subject on Monday
> >and RTFM on weekend (after parties :-) ),
> >but... wouldn't be nice to have the question answered by
> >some of the experienced Tru64 systems administrators out there?
> >I want to know if this is possible:
> >#cat fstab
> >/dev/rz0a / ufs rw 1 1
> >#/dev/rz0b swap1 ufs sw 0 2
> >#primary swap, b partition,other disk
> >/dev/rz1b swap1 ufs sw 0 2
>
>
> In past versions (maybe only on ULTRIX), the primary dump space had to
> be on the same disk as the root in order to use the console device
> drivers to dump memory to disk in the event of a crash. Early versions
> of DEC OSF/1 may have had this restriction or at least preference,
> but I suspect the "usually" is an indication that it isn't required.
>
> You can have more than one page/swap space, so unless you have
> other plans for there's no particular reason not to use the B
> partition on rz0.
>
> Also, check the manual page for fstab to see if a leading # on a
> line is a legal comment character. While it is for many similar
> files, it may not be for this one. I know this was a problem
> on ULTRIX. Habit has kept me from finding out on Tru64 UNIX.
> If you want to keep a line in, but don't want it to be used,
> use "xx" instead "rw", "sw", "ro" or "rq" in the appropriate
> field.
> >
> >
> >Regards,
> >Wilson.
> >
Hi,
the leading # is accepted according to man.
# uname -a
OSF1 test.acsh.cl V4.0 1229 alpha
The reason because I don-t wanna use the rz0b partition
is beacause this drive is in RAID 1 configuration and
I don't wanna waste space.
Thank you for your answer.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can I create primary swap on non-system disk and/or non-b partition?
2001-06-01 21:34 Can I create primary swap on non-system disk and/or non-b partition? Wilson Guerrero-Coltters
2001-06-02 5:11 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
@ 2001-06-02 20:36 ` Jack Patteeuw
1 sibling, 0 replies; 4+ messages in thread
From: Jack Patteeuw @ 2001-06-02 20:36 UTC (permalink / raw)
Sure you can, I do it all the time !!!
Note that root (/) is actually and AdvFS File Domain associated with
rz0a
When booting in single user mode, it will complain about not being able
to find a swap device, but with 1 Gb of memory on this system, who is
worried about swapping when doing maintenance in single user mode ??!!!
Jack Patteeuw
> cat /etc/fstab
root_domain#root / advfs
rw,userquota,groupquota 0 1
/dev/rz2b swap1 ufs
sw 0 2
/dev/rz0b swap2 ufs
sw 0 2
.
.
.
> ls -ld /etc/fdmns/root_domain/*
lrwxrwxrwx 1 root system 9 Oct 20 1999
/etc/fdmns/root_domain/rz0a -> /dev/rz0a
> ls -ld /sbin/swapdefault
lrwxrwxrwx 1 root system 9 Aug 14 2000 /sbin/swapdefault
-> /dev/rz2b
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-06-04 22:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-01 21:34 Can I create primary swap on non-system disk and/or non-b partition? Wilson Guerrero-Coltters
2001-06-02 5:11 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
2001-06-04 22:50 ` Wilson Guerrero-Coltters
2001-06-02 20:36 ` Jack Patteeuw
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox