Re: swap not being mounted (or so I think)

From: Bob Collins (bob_at_anything-inc.com)
Date: 06/26/03

  • Next message: Lowell Gilbert: "Re: Cd Install Problems"
    Date: Thu, 26 Jun 2003 10:12:03 -0400
    To: FreeBSD <freebsd-questions@FreeBSD.ORG>
    
    

    At 09:06 PM 6/25/2003, you wrote:
    >On Wed, Jun 25, 2003 at 08:55:36PM -0400, Bob Collins wrote:
    >
    > > I am running 5.0 Release on an i386 Intel system. I have 256MB ram
    > > and in /etc/fstab swap is called out for 492MB. How can I tell if
    > > this is mounted and in use? Mount does not indicate swap (/da0s1b)
    > > is mounted.
    >
    >Please wrap your lines at 70 characters so your emails can be easily
    >read.

    Oops, sorry, I was using a web interface emailer. This should work now
    (Eudora).

    >swap partitions are not mounted, because they're not filesystems. Use
    >swapinfo to check swap configuration.

    Great, it looks fine. swapinfo was exactly what I needed.

    > > I ask, as I cannot use dump to backup my raid. My raid is
    > > /dev/vinum/raid and mounted at /raid. When I try to dump either
    > > /dev/vinum/raid or /raid, the system panics and halts. I am thinking
    > > the dump is bombing due to lack of swap space.
    >
    >With 256MB of RAM, dump should not be touching swap. It sounds like
    >you have some other problem that you need to investigate more fully.
    >
    >Kris

    You are correct. I do not know what the heck happened, but after triple
    checking fsck and a remount of filesystems, all is fine. I was able to
    perform a dump with no errors. Thanks.

    Now, if I can just get restore to read the dumped tape.... I am getting an
    I/O error that it cannot read the tape, something about block size
    difference. I'll research that now.

    Thank you for your help.

    -- Bob

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Lowell Gilbert: "Re: Cd Install Problems"

    Relevant Pages

    • Re: Panic caused by bad memory?
      ... Bad memory seems unlikely to cause an I/O error trying to write the ... dump to the swap partition. ... swap space could also account for the original crash. ... activates the swap partition. ...
      (freebsd-hackers)
    • Re: Swap space
      ... > twice the amount of RAM if you need to capture a dump for debugging. ... > If you won't ever be doing that, you may not need so much swap. ... least the size of physical memory. ...
      (freebsd-questions)
    • Re: Help with savecore (HPUX 10.20)
      ... Physical Volumes belonging in Root Volume Group: ... Swap: lvol2 on: /dev/dsk/c0t0d0 ... partition where the swap is located. ... on which a dump will be written in the case of a crash. ...
      (comp.sys.hp.hpux)
    • Re: box boots only without swap partition
      ... Swap assignment is a little bit delicate. ... its major/minor device number to the kernel. ... also thought about the dump device. ... The reason panics are written to a block device is ...
      (comp.unix.sco.misc)
    • Re: swap at beginning of slice - danger?
      ... Previously, on a 4.11 system, swapinfo said that swap size was less than ... changed and is it dangerous nowadays to have swap partition at offset 0? ... Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing ...
      (freebsd-stable)