From owner-freebsd-questions Mon Mar 17 16:40:20 2003 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 3B35037B404 for ; Mon, 17 Mar 2003 16:40:19 -0800 (PST) Received: from gemini.smart.net (gemini.smart.net [205.197.48.109]) by mx1.FreeBSD.org (Postfix) with ESMTP id 322B843F75 for ; Mon, 17 Mar 2003 16:40:18 -0800 (PST) (envelope-from mike@packards-home.net) Received: from bigguy (packards-home.smart.net [216.253.158.41]) by gemini.smart.net (8.9.1/8.9.1) with SMTP id TAA18772; Mon, 17 Mar 2003 19:40:16 -0500 Message-Id: <200303180040.TAA18772@gemini.smart.net> From: "Mike Packard" To: "questions@freebsd.org" Cc: "Mike Packard" Date: Mon, 17 Mar 2003 19:37:43 -0500 Reply-To: "Mike Packard" X-Mailer: PMMail 98 Professional (2.01.1600) For Windows 98 (4.10.1998) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: dump a filesystem and using null fs Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have ran into a little quirk in dump. This may have been caused by trying to be to clever, but I'll let you people decide. First, I have a filesystem mount point /mnt_nfs/FreeBSD mounted from /dev/ad0s4e. Next I have another mount point /var/ftp/pub/FreeBSD mounted to /mnt_nfs/FreeBSD with the filesystem null. I got this clever idea from reading mount_null man page and somewhere from the Web or news. Here is a snippet of my fstab to accompish all this: /dev/ad2s4e /mnt_nfs/FreeBSD ufs rw 2 2 /mnt_nfs/FreeBSD /var/ftp/pub/FreeBSD null ro 0 2 Now, my problem I ran into is when I run dump on /mnt_nfs/FreeBSD. I get an error from dump: dump -f /var/test/dump /mnt_nfs/FreeBSD DUMP: Date of this level 0 dump: Thu Mar 13 21:30:46 2003 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /mnt_nfs/rFreeBSD (/var/ftp/pub/FreeBSD) to /var/test/dump dump: Cannot open /mnt_nfs/rFreeBSD: No such file or directory As can be seen, the letter 'r' go stuck before the FreeBSD. Now, this, after poking around in dump, is to fix 'raw' devices. The /var/ftp/pub/FreeBSD is getting traced back to /mnt_nfs/FreeBSD and it is tried to be made into a raw device. Ok here is my question, how to fix this, and yes I know I'm being clever in setting this up like this? I could just go straight into /var/ftp/pub/FreeBSD and not use /mnt_nfs/FreeBSD. But I'm annal and I don't like that just because it disrupts my organizational scheme. As a side note, I use /var/ftp/pub/FreeBSD to get this large directory available for ftping. Since ftpd does not allow soft links. This allowed me to put a large disk space available for anonymous ftp. Mike Packard mike@packardshome.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message