From owner-freebsd-geom@FreeBSD.ORG Fri Nov 2 11:13:38 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1BFE16A421 for ; Fri, 2 Nov 2007 11:13:38 +0000 (UTC) (envelope-from anjoel.s@gmail.com) Received: from ro-out-1112.google.com (ro-out-1112.google.com [72.14.202.183]) by mx1.freebsd.org (Postfix) with ESMTP id 6C69213C480 for ; Fri, 2 Nov 2007 11:13:37 +0000 (UTC) (envelope-from anjoel.s@gmail.com) Received: by ro-out-1112.google.com with SMTP id m6so83580roe for ; Fri, 02 Nov 2007 04:13:23 -0700 (PDT) Received: by 10.115.79.1 with SMTP id g1mr991947wal.1193945380880; Thu, 01 Nov 2007 12:29:40 -0700 (PDT) Received: by 10.114.160.7 with HTTP; Thu, 1 Nov 2007 12:29:40 -0700 (PDT) Message-ID: <3a72fe8f0711011229s1d23366ame17ff3f4ee1f65e0@mail.gmail.com> Date: Thu, 1 Nov 2007 17:29:40 -0200 From: "Anderson J. de Souza" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Bug on md + geli + jail !? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 11:13:39 -0000 Hello people ! Well,... I have an good system with Jails over Partitioned Encrypted Memory Disc, initialized with rc system, but if I does one jail stop [jailname], geli don't remove partition mdX.elia, and I can't use this device again. I try use rm on device file, then I when restart geli over mdX, its dont make mdX.elia ,.. i try show it with "devfs rule apply path md6.elia hide" but then show 2 devices: like this: crw-r----- 1 root operator 0, 160 Nov 1 09:45 /dev/md6.elia crw-r----- 1 root operator 0, 160 Nov 1 09:45 /dev/md6.elia if I try mount the device the system show: mount: /dev/md6.elia: Device not configured My partition scheme: (BEFORE BUG) /dev/md6.elia on /jails/revproxy (ufs, local, read-only, acls) /dev/md6.elib on /jails/revproxy/var (ufs, local, soft-updates, acls) /dev/md6.elid on /jails/revproxy/tmp (ufs, local, nosuid, soft-updates, acls) /dev/md6.elie on /jails/revproxy/usr (ufs, local, soft-updates, acls) /dev/md6.elia on /jails/revproxy/data (ufs, local, nosuid, soft-updates, acls) TUNEFS AFTER BUG: free05-meta# tunefs -p /dev/md6.elia tunefs: /dev/md6.elia: could not open special device TUNEFS BEFORE BUG: # tunefs -p /dev/md6.elia tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) # tunefs -p /dev/md6.elib tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) # tunefs -p /dev/md6.elid tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) # tunefs -p /dev/md6.elie tunefs: ACLs: (-a) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: maximum blocks per file in a cylinder group: (-e) 2048 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: optimization preference: (-o) time tunefs: volume label: (-L) My Devices before stop jail: crw-r----- 1 root operator 0, 101 Nov 1 09:45 /dev/md6 crw-r----- 1 root operator 0, 122 Nov 1 09:45 /dev/md6.eli crw-r----- 1 root operator 0, 123 Nov 1 09:45 /dev/md6.elia crw-r----- 1 root operator 0, 124 Nov 1 09:45 /dev/md6.elib crw-r----- 1 root operator 0, 125 Nov 1 09:45 /dev/md6.elic crw-r----- 1 root operator 0, 126 Nov 1 09:45 /dev/md6.elid crw-r----- 1 root operator 0, 127 Nov 1 09:45 /dev/md6.elie MY BSDLABELS: # /dev/md6.eli: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 262144 16 4.2BSD 2048 16384 16392 b: 2097152 262160 4.2BSD 2048 16384 28552 c: 6291455 0 unused 0 0 # "raw" part, don't edit d: 524288 2359312 4.2BSD 2048 16384 32776 e: 3407855 2883600 4.2BSD 2048 16384 28552 -- ___________________ Anderson J. de Souza - Networking and Security - [ - Professional Consulting - The best firewall - ] http://anjoel.s.googlepages.com - anjoel.s@gmail.com Phone: +55 (54) 9115.13.15 - Sip: 1-747-006-0374