From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 05:14:30 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60CD516A4CE for ; Wed, 9 Feb 2005 05:14:30 +0000 (GMT) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08E8C43D45 for ; Wed, 9 Feb 2005 05:14:29 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j195ESGf017421 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Feb 2005 21:14:28 -0800 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.10/Submit) id j195ERF3017419; Tue, 8 Feb 2005 21:14:27 -0800 X-Authentication-Warning: hosea.tallye.com: sttng359 set sender to lorenl@alzatex.com using -f Date: Tue, 8 Feb 2005 21:14:27 -0800 From: "Loren M. Lang" To: "Kjell B." Message-ID: <20050209051427.GJ8619@alzatex.com> References: <4205E80F.2030206@telia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4205E80F.2030206@telia.com> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C cc: questions@freebsd.org Subject: Re: rad5s1b shows up mysteriously instead of ad5s1b X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2005 05:14:30 -0000 On Sun, Feb 06, 2005 at 10:49:03AM +0100, Kjell B. wrote: > I just moved my disks to a different controller and this happened to > (part of) my swap. I have searched the mailing lists, the FreeBSD > homepage and Googled without success. > > I basically have two disks: ad0 and ad1 before the move; ad4 and ad5 > after the move. ad0/ad4 is the main disk while ad1/ad5 is my backup disk. > > Before the move: > > # See the fstab(5) manual page for important information on automatic mounts > # of network filesystems before modifying this file. > # > # Device Mountpoint FStype Options Dump > Pass# > /dev/ad0s1b none swap sw 0 0 > /dev/ad1s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad1s1e /rootback ufs rw 1 1 > /dev/ad1s1f /backup ufs rw 2 2 > /dev/ad0s1f /tmp ufs rw 2 2 > /dev/ad0s1g /usr ufs rw 2 2 > /dev/ad0s1e /var ufs rw 2 2 > #/dev/ad1s1a /mnt/newroot ufs rw 1 1 > #/dev/ad1s1e /mnt/newvar ufs rw 2 2 > #/dev/ad1s1f /mnt/newtmp ufs rw 2 2 > #/dev/ad1s1g /mnt/newusr ufs rw 2 2 > /dev/acd0c /cdrom cd9660 ro,noauto 0 0 > /dev/acd1c /cdrom1 cd9660 ro,noauto 0 0 > proc /proc procfs rw 0 0 > /dev/ad4s2 /ntfs/c ntfs rw,noauto 0 0 > /dev/ad4s5 /ntfs/f ntfs rw,noauto 0 0 > /dev/ad4s6 /ntfs/g ntfs rw,noauto 0 0 > /dev/ad4s7 /ntfs/h ntfs rw,noauto 0 0 > > After the move (and physical removal of the NTFS disk): > > # See the fstab(5) manual page for important information on automatic mounts > # of network filesystems before modifying this file. > # > # Device Mountpoint FStype Options Dump > Pass# > /dev/ad4s1b none swap sw 0 0 > /dev/ad5s1b none swap sw 0 0 > /dev/ad4s1a / ufs rw 1 1 > /dev/ad5s1e /rootback ufs rw 1 1 > /dev/ad5s1f /backup ufs rw 2 2 > /dev/ad4s1f /tmp ufs rw 2 2 > /dev/ad4s1g /usr ufs rw 2 2 > /dev/ad4s1e /var ufs rw 2 2 > #/dev/ad1s1a /mnt/newroot ufs rw 1 1 > #/dev/ad1s1e /mnt/newvar ufs rw 2 2 > #/dev/ad1s1f /mnt/newtmp ufs rw 2 2 > #/dev/ad1s1g /mnt/newusr ufs rw 2 2 > /dev/acd0c /cdrom cd9660 ro,noauto 0 0 > /dev/acd1c /cdrom1 cd9660 ro,noauto 0 0 > proc /proc procfs rw 0 0 > #/dev/ad4s2 /ntfs/c ntfs rw,noauto 0 0 > #/dev/ad4s5 /ntfs/f ntfs rw,noauto 0 0 > #/dev/ad4s6 /ntfs/g ntfs rw,noauto 0 0 > #/dev/ad4s7 /ntfs/h ntfs rw,noauto 0 0 > > My swap areas are not ad4s1b and ad5s1b as I have defined, but rather > ad4s1b and rad5s1b. Webmin reports: > Mounted as Type Location In use? Permanent? > Virtual Memory Virtual Memory (swap) /dev/ad4s1b Yes Yes > Virtual Memory Virtual Memory (swap) /dev/ad5s1b No Yes > Virtual Memory Virtual Memory (swap) /dev/rad5s1b Yes No > > Any explanation? What is rad? Is more info needed and if so: what? r in front of any block device is the raw device for it. It access the data directly on the drive without using the buffer cache. FreeBSD 5.x no longer makes a distinction, and 4.x may still. For swap, I'm not sure how it interacts. Swap may always be raw since the point is to free up some ram and therefore it shouldn't be cached in ram. > > -- > Kjell > > _______________________________________________ > 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" -- I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C