Displaying 17 results from an estimated 17 matches for "mdconfig".
Did you mean:
ldconfig
2008 Dec 02
6
repeatable crash on RELENG7
...sr/obj on a
ramdisk and found my box crashing. Thinking it might be hardware, I
tried a separate machine, but with the same results. I have 4G of
ram (i386). Am I just running out of some kernel memory ? If so, is
there anything I can adjust to prevent this, yet still use mfs in this way ?
mdconfig -a -t malloc -s 1800M
newfs /dev/md0
mount /dev/md0 /usr/obj/
time make -j4 buildworld > /var/log/build.out
in the middle of the buildworld on the serial console (after adding
witness etc)
g_vfs_done():md0[WRITE(offset=1752924160, length=6144)]error = 28
g_vfs_done():md0[WRITE(offset=1752952...
2006 Mar 02
1
Panics with md/gvinum/ufs
...if this is important. I could not find any
information on how gvinum detects failed hard disks.
That's why I tried something really simple.
Steps to reproduce:
1)
dd if=/dev/zero of=a bs=1024 count=256000
dd if=/dev/zero of=b bs=1024 count=256000
dd if=/dev/zero of=c bs=1024 count=256000
2)
mdconfig -a -t vnode -u 0 -f a
mdconfig -a -t vnode -u 1 -f b
mdconfig -a -t vnode -u 2 -f c
3)
gvinum create raid5.conf
with raid5.conf:
drive a device /dev/md0
drive b device /dev/md1
drive c device /dev/md2
volume raid5
plex org raid5 491k
sd length 0 drive a
sd length 0 driv...
2007 Apr 30
3
disk image creation, step by step
...ytes transferred in 1.404435 secs (18957091 bytes/sec)
# ls -al *.iso *.img
-rw-r--r-- 1 root wheel 26624000 Apr 27 03:28
6.2-RELEASE-i386-bootonly.img
-rw-r--r-- 1 root wheel 25444352 Apr 16 15:44
6.2-RELEASE-i386-bootonly.iso
- Attach this image file as a memory disk:
# mdconfig -a -t vnode -f 6.2-RELEASE-i386-bootonly.img -u 0
- Write a BSD label with boot code to it:
# bsdlabel -w -B md0 auto
- And create a filesystem on it (BSD uses ufs):
# newfs -m 0 md0a
Warning: changing optimization to space because minfree is less than 8%
/dev/md0a: 25.4MB (5198...
2006 Jan 22
3
Encrypted volume - how?
Hi all,
I'm looking for a way to recreate the functionality of PGP Disk (under
Win32). Basically, create an encrypted file, which contains a filesystem
which can then be mounted in any mount point.
I know I can use GELI in FreeBSD 6 - as I understand, it performs the
encryption at the partition level (the whole partition is encrypted).
I'd like to be able to simply unmount my
2012 Feb 11
3
9.0-RELEASE PV from scratch on XCP v1.1.0
...ed under /mnt.
The following steps are taken on the BUILD host where /usr/src has
already been compiled with buiidworld and buildkernel targets.
==BEGIN==
export FSIMAGE="FreeBSD-PV.img"
truncate -s 10G /mnt/${FSIMAGE} # Create the file where the image will reside.
mdconfig -a -t vnode -f /mnt/${FSIMAGE} -u 0 # Create the image itself
fdisk -BI md0 # Write the DOS partition table
# Create an inital BSD Label
# For testing, we''ll assume one large partition
bsdlabel -w -B md0s1
bsdlabel -e md0s1 # Change partition a from '...
2008 Feb 22
0
mddisk(ramdisk) root system that image size limit ?
....rc {
load kernel // The kernel used 6.2 GENERIC
load -t mfs_root /image // dd if=/dev/zero of=/image bs=1k count=100k
(or count=99k)
}
above config can't boot normal, kernel panic.
[TEST after system up]
1. dd if=/dev/zero of=/image bs=1k count=128k
2. mdconfig -a -t vnode -f /image -u 0
3. bsdlabel -Bw /dev/md0 auto
4. newfs /dev/md0a
5. mount /dev/md0a /mnt
When system up normally: df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 23G 1.5G 20G 7% /
devfs 1.0K 1.0K 0B 100%...
2006 Mar 28
2
6.1-BETA4-i386-disc2.iso - only usr/share/doc, no usr/src?
Does the 6.1-BETA4-i386-disc2.iso contain only usr/share/doc, or for
some reason i am unable to see anything else? I was looking for
usr/src (and for a odd chance to have usr/ports); i suppose those
two trees would be available somewhere on some disc for RELENG_6_1.
I mounted the image as ...
mdconfig -a -t vnode -f /path/to/6.1-BETA4-i386-disc2.iso -u 0
mount -t cd9660 /dev/md0 /mnt
... then looked around as usual (cd, ls).
- Parv
--
2012 Nov 27
6
How to clean up /
...irand
5M /rescue/gbde
5M /rescue/geom
5M /rescue/glabel
5M /rescue/gpart
5M /rescue/ifconfig
5M /rescue/init
5M /rescue/kldconfig
5M /rescue/kldload
5M /rescue/kldstat
5M /rescue/kldunload
5M /rescue/ldconfig
5M /rescue/md5
5M /rescue/mdconfig
5M /rescue/mdmfs
5M /rescue/mknod
5M /rescue/mount
5M /rescue/mount_cd9660
5M /rescue/mount_msdosfs
5M /rescue/mount_nfs
5M /rescue/mount_ntfs
5M /rescue/mount_nullfs
5M /rescue/mount_udf
5M /rescue/mount_unionfs
5M /rescue/newfs
5M /rescu...
2003 Sep 03
3
MAC problems
FreeBSD version: 5.1-RELEASE
Hi,
I'm quite new to FreeBSD. I've check list archives and
read a handbook, but I didn't find solution to my problem
and I hope this is not off-topic.
I've installed 5.1-RELEASE, enabled ACLs on the filesystems
and I wanted to test MAC features. I'm also new to MAC, so
perhaps this is some my mistake.
When I enable mac_biba or mac_lomac (in
2010 Jul 25
4
zpool destroy causes panic
I'm trying to destroy a zfs array which I recently created. It contains
nothing of value.
# zpool status
pool: storage
state: ONLINE
status: One or more devices could not be used because the label is
missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
2007 Feb 18
4
sysutils/fusefs-ntfs working for anyone?
Hi there,
I've been trying to mount my NTFS partitions with the NTFS-3g project's
FUSE implementation but am unable to mount anything.
I'm on 6-STABLE and have the latest versions of FUSE installed:
fusefs-kmod-0.3.0_4 Kernel module for fuse
fusefs-libs-2.6.2 FUSE allows filesystem implementation in userspace
fusefs-ntfs-0.20070207RC1 Mount NTFS partitions and disk images
I use
2008 Jul 29
8
Upcoming ABI Breakage in RELENG_7
Normally the FreeBSD Project tries very hard to avoid ABI breakage in
"Stable Branches". However occasionally the fix for a bug can not be
implemented without ABI breakage, and it is decided that the fix
warrants the impact of the ABI breakage. We have one of those
situations coming along for RELENG_7 (what will become FreeBSD 7.1).
The ABI breakage should only impact kernel modules
2013 Jul 31
4
Booting FreeBSD
Hi,
I am trying to create a hybrid ISO image for FreeBSD 9.2 using syslinux 6.01 and isohybrid.pl I found at http://www.overclockix.com/sources/isohybrid.pl (I know there is a C version in syslinux but I haven't been able to build it yet due to the UUID library being different to the one in FreeBSD).
According to the wiki mboot.c32 can boot FreeBSD, however I haven't been able to get it
2008 Sep 01
3
bin/121684: : dump(8) frequently hangs
Any progress here? Does anyone know if this will be fixed in 7.1 latest,
or should we start looking for different backup solution (in this case I
would suggest to remove dump from the source tree - having a backup tool
that doesn't work is worse than having none). After upgrading we
basically cannot backup our servers.
Shouldn't this issue be on
2009 Jan 15
2
zfs drive keeps failing between export and import
...drives (the same
drive both times) when I imported it back. All drives in the pool
show no read, write, or checksum errors and are new, so I'm looking to
a software problem before hardware. Both drives are encrypted geli
devices. I tried to reproduce the error with 1GB disk images (vs
1TB), mdconfig, geli, and zpool, but no luck; importing and exporting
work fine.
Here's the history of the pool:
History for 'tank':
2009-01-07.19:06:53 zpool create tank mirror /dev/ad8.eli /dev/ad10.eli
2009-01-12.12:34:20 zpool export -f tank
2009-01-12.12:38:12 zpool import tank
2009-01-12.12:41...
2006 Jul 14
1
Any ongoing effort to port /etc/rc.d/pf_boot, /etc/pf.boot.conf from NetBSD ?
Hi,
[I have added freebsd-security to recipient list as I consider
this issue a security risk]
Paul Schenkeveld wrote:
> Hello,
>
> On Fri, Jul 14, 2006 at 01:26:38PM +0300, Ari Suutari wrote:
>> Hi,
>>
>> Does anyone know if there are any plans to bring
>> pf boot-time protection (ie. /etc/rc.d/pf_boot and
>> related config files) from NetBSD to FreeBSD
2012 Sep 18
8
Collecting entropy from device_attach() times.
Hi.
I experimented a bit with collecting entropy from the time it takes for
device_attach() to run (in CPU cycles). It seems that those times have
enough variation that we can use it for entropy harvesting. It happens
even before root is mounted, so pretty early.
On the machine I'm testing it, which has minimal kernel plus NIC driver
I see 75 device_attach() calls. I'm being very careful