Re: Disklabel problem IBM SCSI3 disks, vinum too

2003-11-21 Thread Bob Collins
(which is what I now run) it will not label through /stand/sysinstall. I can now newfs the drive and mount it and copy files to and fro, however I cannot use it with vinum. I did umount the drive and then disklabel -e da4 and changed the e: to h: and the filesystem type to vinum. It was da4s1e

Re: Disklabel problem IBM SCSI3 disks, vinum too

2003-11-21 Thread Greg 'groggy' Lehey
, however I cannot use it with vinum. I did umount the drive and then disklabel -e da4 and changed the e: to h: and the filesystem type to vinum. It was da4s1e. When I create the vinum configuration, I either get that drive d (da4s1h) is referenced and in the down state while the other three

Re: Disklabel problem IBM SCSI3 disks, vinum too

2003-11-19 Thread Bob Collins
SCSI3 disks 9G each, however one of those 4 will not disklabel. The other three will. This leads to troubles then, obviously, to setting the 4 drives for vinum use. Was using these 4 drives on 5.0-RELEASE with vinum previously no troublesdowngraded for some backup software (bacula

Re: Disklabel problem IBM SCSI3 disks, vinum too

2003-11-19 Thread Greg 'groggy' Lehey
/stand/sysinstall. I can now newfs the drive and mount it and copy files to and fro, however I cannot use it with vinum. I did umount the drive and then disklabel -e da4 and changed the e: to h: and the filesystem type to vinum. It was da4s1e. When I create the vinum configuration, I either

Re: Disklabel problem IBM SCSI3 disks, vinum too

2003-11-17 Thread Greg 'groggy' Lehey
will not disklabel. The other three will. This leads to troubles then, obviously, to setting the 4 drives for vinum use. Was using these 4 drives on 5.0-RELEASE with vinum previously no troublesdowngraded for some backup software (bacula) compatibility reasons. In dmesg, da1, da2, da3, da4 all

Disklabel problem IBM SCSI3 disks, vinum too

2003-11-14 Thread Bob Collins
Running FBSD 4.9 on an Intel SMP mobo w/ 2 Intel PII 350s. Onboard SCSI is recognized and sees all my drives. One SCSI 3 drive is 4.5G for the OS and /usr. I have 4 identical IBM SCSI3 disks 9G each, however one of those 4 will not disklabel. The other three will. This leads to troubles

Re: scant description for devfs - unable to create /dev/ad3* or use disklabel

2003-10-07 Thread Lowell Gilbert
ecsd [EMAIL PROTECTED] writes: The transition to using devfs versus MAKEDEV is not very well documented, and I find no way to create /dev/ad3-anything although I have a /dev/ad3 and have used disklabel -w -r ad3 auto to initialize it. I wish there were an example section for devfs(8

scant description for devfs - unable to create /dev/ad3* or use disklabel

2003-10-05 Thread ecsd
The transition to using devfs versus MAKEDEV is not very well documented, and I find no way to create /dev/ad3-anything although I have a /dev/ad3 and have used disklabel -w -r ad3 auto to initialize it. I wish there were an example section for devfs(8) that showed how to use devfs to do what

LABEL (The FreeBSD Disklabel Editor)

2003-09-16 Thread Michael A. Alestock
I have an existing FreeBSD v4.7 installation and want to delete a small filesystem that I had designated for email (/var/mail), and want to freeup that unused space to the '/usr/home' filesystem. If I use DISKLABEL to delete '/var/mail', and then re-write '/usr/home' to reflect the added space

Re: LABEL (The FreeBSD Disklabel Editor)

2003-09-16 Thread Ruben de Groot
On Tue, Sep 16, 2003 at 06:19:28AM -0400, Michael A. Alestock typed: I have an existing FreeBSD v4.7 installation and want to delete a small filesystem that I had designated for email (/var/mail), and want to freeup that unused space to the '/usr/home' filesystem. If I use DISKLABEL to delete

Re: LABEL (The FreeBSD Disklabel Editor)

2003-09-16 Thread Jerry McAllister
I have an existing FreeBSD v4.7 installation and want to delete a small filesystem that I had designated for email (/var/mail), and want to freeup that unused space to the '/usr/home' filesystem. If I use DISKLABEL to delete '/var/mail', and then re-write '/usr/home' to reflect the added

Re: 5.1-RELEASE: disklabel/bsdlabel for multi-boot system

2003-09-04 Thread Matthew Seaman
FreeBSD to fit into it with as little damage to the existing OSs as possible. The setup I have (as reported by OpenBSD disklabel) is: a: 262144 2570404.2BSD 1024 819216 b:16384 519184 swap c: 498015 257040unused0 0

Re: 5.1-RELEASE: disklabel/bsdlabel for multi-boot system

2003-09-04 Thread Meow Cat
, to answer my own questions, in case others have the same questions: 1) The 'unit' size in bsdlabel/disklabel is the size of the individual slice. You can only create BSD-partitions within that slice, and you can't extend beyond that. However, you shouldn't need to, as: 2) FreeBSD supports DOS-style

5.1-RELEASE: disklabel/bsdlabel for multi-boot system

2003-09-03 Thread Meow Cat
as possible. The setup I have (as reported by OpenBSD disklabel) is: a: 262144 2570404.2BSD 1024 819216 b:16384 519184 swap c: 498015 257040unused0 0 d: 219487 5355684.2BSD 1024 819216 e: 4000122

disklabel problem

2003-08-14 Thread Karsten Fuhrmann
hello i am trying to add some more hd space to my system. I have an extra disk wich is /dev/sda0s2. I used disklabel to partition it into seven partitions. Now i want to insert these partitions to my system, but i can not find all the device files /dev/sda0s2a - /dev/sda0s2h But disklabel -r

Re: disklabel problem

2003-08-14 Thread Jerry McAllister
hello i am trying to add some more hd space to my system. I have an extra disk wich is /dev/sda0s2. I used disklabel to partition it into seven partitions. Now i want to insert these partitions to my system, but i can not find all the device files /dev/sda0s2a - /dev/sda0s2h By default

4.5 to 4.8, disks not mounting now -- w/ disklabel error output

2003-07-13 Thread bill mcmilleon
Sorry, I should have included this output as well: fs3# disklabel -r ad4 disklabel: bad pack magic number (label is damaged, or pack is unlabeled) --Bill McMilleon quoting previous posting below: - I have a Pentium 233 that was running 4.5-RELEASE whose boot drive went

hpt366 and disklabel problem

2003-06-21 Thread Omer Faruk Sen
Hi. I have an old system that has hpt366 card on it. I have connected 4 drive connected to it. But after connecting those drives to that hpt366 I can not do disklabel on them but i can if i connect it to normal ide connectors. I am using GENERIC 4.8 kernel that ships with 4.8Release

Re: fdisk/disklabel - Error: unable to write data to disk ad0

2003-06-01 Thread Joshua Oreman
On Sat, May 31, 2003 at 07:05:56PM +0200 or thereabouts, Herbert seemed to write: Hei! On Thursday May 29th I installed FreeBSD 5.1 Beta2. The next day I've update to CURRENT from May 30th. I have a 60 GB ATA harddisk and during installation I created only 1 20 GB slice for FreeBSD. Today I

Re: I damaged a disklabel

2003-04-02 Thread Mike Meyer
. Is there a way of fixing it? If you have the starting sector for each partition as well, you can fix it. You need to use disklabel to set those two numbers. See the disklabel man page for details. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html

I damaged a disklabel

2003-04-01 Thread Eduardo Viruena
I just blew the label of my disk. I do not know how I did it but you know that we can make amazing things without even be aware of what we are doing. I have a paper on my desk where I write down the sizes of my partitions. Is there a way of fixing it? Thanks in advance.

Re: disklabel - 8th partition shows X as Partition name

2003-03-26 Thread Siegbert Baude
I'm running 4.8RC1, I have a ~345Gb drive (RAID), that I am partitioning into 43Gb chunks (8 of them).. I'm using sysinstall.. on my last chunk, it shows X as the partition name and the rest is ok. The other partitions are amrd0s1e,f,g,h,a,b,d.. Am I out of letters? What about i? What can

Re: disklabel - 8th partition shows X as Partition name

2003-03-26 Thread Eric Anderson
Siegbert Baude wrote: I'm running 4.8RC1, I have a ~345Gb drive (RAID), that I am partitioning into 43Gb chunks (8 of them).. I'm using sysinstall.. on my last chunk, it shows X as the partition name and the rest is ok. The other partitions are amrd0s1e,f,g,h,a,b,d.. Am I out of letters?

Re: disklabel - 8th partition shows X as Partition name

2003-03-26 Thread Siegbert Baude
Hi Eric, The partitions within a FreeBSD slice are numberd from a to h, where c is always reserved for the complete disk. So you will need two (or more) slices. Then create up to 7 (abdefgh) partitions within each slice. Thanks Siegbert.. Do you have any idea why this limit would be placed?

Re: disklabel - 8th partition shows X as Partition name

2003-03-26 Thread Mike Meyer
to use (in DOS-terms) logical partitions within an extended partition. This is possible, if you do the math and creation of partition tables by hand, but is not supported by the FreBSD tools. No, you don't need to do anything by hand. Just disklabel /dev/amr0s5 and so on, and create

Re: disklabel - 8th partition shows X as Partition name

2003-03-26 Thread Siegbert Baude
Hi Mike, I once tried to use (in DOS-terms) logical partitions within an extended partition. This is possible, if you do the math and creation of partition tables by hand, but is not supported by the FreBSD tools. No, you don't need to do anything by hand. Just disklabel /dev/amr0s5 and so

Re: disklabel - 8th partition shows X as Partition name

2003-03-26 Thread Mike Meyer
to do anything by hand. Just disklabel /dev/amr0s5 and so on, and create the partitions in it. I will note that on 5.0-RELEASE, the extended slice devices didn't get created for me. Yes, disklabel worked o.k., I talked about potential problems with (DOS-term) partition tables, aka slice tables

Re: disklabel - 8th partition shows X as Partition name

2003-03-26 Thread Eric Anderson
Mike Meyer wrote: [..snip..] Of course, one has to wonder why anyone needs as many as seven partitions on a single disk. It's far more common to want to go the other way, and have multiple disks in a single partition. mike Separating the 350Gb up into smaller chunks makes dividing the space for

Re: disklabel - 8th partition shows X as Partition name

2003-03-26 Thread Mike Meyer
In [EMAIL PROTECTED], Eric Anderson [EMAIL PROTECTED] typed: Mike Meyer wrote: [..snip..] Of course, one has to wonder why anyone needs as many as seven partitions on a single disk. It's far more common to want to go the other way, and have multiple disks in a single partition. Separating

Re: disklabel - 8th partition shows X as Partition name

2003-03-26 Thread Eric Anderson
Mike Meyer wrote: In [EMAIL PROTECTED], Eric Anderson [EMAIL PROTECTED] typed: Mike Meyer wrote: [..snip..] Of course, one has to wonder why anyone needs as many as seven partitions on a single disk. It's far more common to want to go the other way, and have multiple disks in a single partition.

Re: disklabel - 8th partition shows X as Partition name

2003-03-26 Thread Joshua Oreman
and creation of partition tables by hand, but is not supported by the FreBSD tools. No, you don't need to do anything by hand. Just disklabel /dev/amr0s5 and so on, and create the partitions in it. I will note that on 5.0-RELEASE, the extended slice devices didn't get created for me. Yes

Re: disklabel and ext2

2003-03-21 Thread Heinrich Rebehn
synrat wrote: I can't delete 2 linux partitions from a drive using disklabel. No matter what /dev/ad0 slices I try to edit, linux partitions don't show up, but fdisk thinks differently. I can easily delete and recreate the first 2 partitions as slices 1 and 2, but can't get rid of the other 2

disklabel and ext2

2003-03-20 Thread synrat
I can't delete 2 linux partitions from a drive using disklabel. No matter what /dev/ad0 slices I try to edit, linux partitions don't show up, but fdisk thinks differently. I can easily delete and recreate the first 2 partitions as slices 1 and 2, but can't get rid of the other 2. Thanx in advance

Disklabel auto allocate script

2003-02-28 Thread Richard
hey i am trying to create a script to automatically detect the size of a drive,run fdisk then disklabel and allocate the partitions in a similar way to the sysinstall disklabel program, but i can't seem to find any documentation to help. the script is for a boot disk that will set up all

Re: amnesiac is disklabel?

2003-02-10 Thread Pete
wrote: On Sunday, 2 February 2003 at 13:50:20 -0500, Pete wrote: == [root@archive 13:44:07 root]# disklabel ar2 # /dev/ar2: [snip] bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 3737 sectors/unit

Re: amnesiac is disklabel?

2003-02-10 Thread Greg 'groggy' Lehey
On Monday, 10 February 2003 at 23:11:02 -0500, Pete wrote: On Mon, 03 Feb 2003, Pete wrote: On Mon, 03 Feb 2003, Greg 'groggy' Lehey wrote: On Sunday, 2 February 2003 at 13:50:20 -0500, Pete wrote: What does this mean? Whichever drive is last, that's the one I cannot disklabel -e to set

amnesiac is disklabel?

2003-02-02 Thread Pete
Hello... I have three hard drives in my system. One of them (the first) is the system disk. I'm trying to get the other two ready to be a mirrored volume. No matter which of the last two drives is last, that one always is listed as amnesiac when I do a disklabel

Re: amnesiac is disklabel?

2003-02-02 Thread Greg 'groggy' Lehey
as amnesiac when I do a disklabel on it: == [root@archive 13:44:07 root]# disklabel ar2 # /dev/ar2: type: unknown disk: amnesiac label: fictitious flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 3737 sectors

Re: amnesiac is disklabel?

2003-02-02 Thread Ben Williams
as amnesiac when I do a disklabel on it: P == P [root@archive 13:44:07 root]# disklabel ar2 P # /dev/ar2: P type: unknown P disk: amnesiac P label: fictitious P flags: P bytes/sector: 512 P sectors/track: 63 P tracks/cylinder: 255 P sectors/cylinder: 16065 P cylinders: 3737 P

Re: amnesiac is disklabel?

2003-02-02 Thread Greg 'groggy' Lehey
which of the last two drives is last, that P one always is listed as amnesiac when I do a disklabel on it: P == P [root@archive 13:44:07 root]# disklabel ar2 P # /dev/ar2: P type: unknown P disk: amnesiac Maybe I'm being obvious here but have you tried a different

Re[2]: amnesiac is disklabel?

2003-02-02 Thread Ben Williams
the other two ready to be a P mirrored volume. No matter which of the last two drives is last, that P one always is listed as amnesiac when I do a disklabel on it: P == P [root@archive 13:44:07 root]# disklabel ar2 P # /dev/ar2: P type: unknown P disk: amnesiac Maybe

Re: amnesiac is disklabel?

2003-02-02 Thread Greg 'groggy' Lehey
of them (the first) P is the system disk. I'm trying to get the other two ready to be a P mirrored volume. No matter which of the last two drives is last, that P one always is listed as amnesiac when I do a disklabel on it: P == P [root@archive 13:44:07 root

(repost) disklabel problem, please help

2003-01-23 Thread Pete Toscano
on /v1 (ufs, local, soft-updates) /dev/ar2s1e on /v2 (ufs, local, soft-updates) == I have read that the next step involves using disklabel to edit the label of each disk and change the 4.2BSD fstype to vinum. I wanted to see the labels first, so I typed disklabel ar1

FBSD-4.4 vs 4.5-4.7 for fdisk, disklabel newfs

2003-01-21 Thread Jack L. Stone
I ran into a snag using my HD backup script that works like a charm on FBSD-4.5-4.7, but won't when I just tried it on 4.4. The script uses Fdisk, Disklabel and Newfs. Seems to fdisk disklabel okay, but when I try to then run the newfs on a partition, like /dev/ad2s1a, it says, no such file

Re: FBSD-4.4 vs 4.5-4.7 for fdisk, disklabel newfs

2003-01-21 Thread Jack L. Stone
At 03:12 PM 1.21.2003 -0600, Jack L. Stone wrote: I ran into a snag using my HD backup script that works like a charm on FBSD-4.5-4.7, but won't when I just tried it on 4.4. The script uses Fdisk, Disklabel and Newfs. Seems to fdisk disklabel okay, but when I try to then run the newfs

frustrating disklabel problem

2003-01-04 Thread Pete Toscano
and mounted them. == /dev/ar1s1e on /v1 (ufs, local, soft-updates) /dev/ar2s1e on /v2 (ufs, local, soft-updates) == I have read that the next step involves using disklabel to edit the label of each disk and change the 4.2BSD fstype to vinum

Re: frustrating disklabel problem

2003-01-04 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-04 11:20:22 -0500: I'm trying to set up a vinum mirrored plex on my 4.7-STABLE (cvsup-ed as of yesterday, 1/3) system. I have 3 30GB drives. Currently, only the first disk is being used. This disk has all the system along with all my digital photos and videos.

Re: frustrating disklabel problem

2003-01-04 Thread Pete Toscano
-in as possible. Granted, 1 is my primary reason, but 2 and 3 are factors (albeit minor). I'm using the RAID card because it was (at the time) the only IDE adapter that I had that supported UDMA 100. I bought this other adapter hoping that this disklabel problem I'm seeing is a hardware problem. It doesn't

disklabel device busy

2002-12-04 Thread Jason Morgan
: # disklabel -e /dev/ad0s1e disklabel: Device busy Second try (completely empty disk): # disklabel -e /dev/ad2s1f disklabel: Device busy Then I tried 'disklabel -e -r' for each of these and still: Device busy. Could someone point me in the right direction? Thanks, -Jason To Unsubscribe: send

Re: disklabel device busy

2002-12-04 Thread Jason Morgan
): http://org.netbase.org/vinum-mirrored.html Anyway, I have come to the point where I have to label my disks and I am getting the following: First try: # disklabel -e /dev/ad0s1e disklabel: Device busy Second try (completely empty disk): # disklabel -e /dev/ad2s1f disklabel: Device

requesting help restoring disklabel on unbootable system

2002-12-01 Thread Mark Stosberg
Hello, After an unfortunate sequence of events, my newly successfully upgraded FreeBSD 4.7 machine would not boot anymore and gave me a boot: prompt. Returning to the install CD disklabel program, I saw that the only partition it seemed be to finding was the swap partition. I recreated and wrote

Re: requesting help restoring disklabel on unbootable system

2002-12-01 Thread Mark Stosberg
On Sun, 1 Dec 2002, Mark Stosberg wrote: After an unfortunate sequence of events, my newly successfully upgraded FreeBSD 4.7 machine would not boot anymore and gave me a boot: prompt. Returning to the install CD disklabel program, I saw that the only partition it seemed be to finding

Re: requesting help restoring disklabel on unbootable system

2002-12-01 Thread Mark Stosberg
On Sun, 1 Dec 2002, Mark Stosberg wrote: On Sun, 1 Dec 2002, Mark Stosberg wrote: After an unfortunate sequence of events, my newly successfully upgraded FreeBSD 4.7 machine would not boot anymore and gave me a boot: prompt. Returning to the install CD disklabel program, I saw

amnesiac disklabel on RAID logical drive

2002-10-09 Thread Philip J. Koenig
I posted about this a few weeks ago but didn't get many responses and I really have to fix it now. Somewhere in the course of using sysinstall it blew away part of my disklabel. This box has an AMI RAID controller on it which I want to replace. (not least because of its horrible error

Re: restoring disklabel from an active disk?

2002-07-25 Thread Jerry McAllister
I somehow wiped out my disklabel and while I am backing up my home directory in the event I need to start from scratch, I would like know if I can somehow extract a valid disklabel from a running system and re-apply it? If you can get disklabel to print out the incore version

Re: restoring disklabel from an active disk?

2002-07-25 Thread Jerry McAllister
yup, I got the part about the incore label but too late: I wish there was some way to refresh it. It is active as far as df -k or the mechanism in the kernel that tracks filesystems knows. Hmmm. I just thought of something. You say the disklabel starts at 0. Do you mean the offset

Re: restoring disklabel from an active disk?

2002-07-25 Thread Jerry McAllister
I seem not to have that anymore: the disklabel that I get back starts at 0. I seem to have trashed that as well while I was thrashing around with this. grumble Oh Oh, Sounds suspiciosly like it be gone then. Well, this is your opportunity to be creative... jerry I take

Re: restoring disklabel from an active disk?

2002-07-25 Thread paul beard
Assuming I work out the partition sizes with the output of df -k, is there a way to determine the starting point for the slice that contains all my BSD partitions? As long as I don't reboot, things seem to be hunky-dory, but that's not the most practical way to continue. -- Paul Beard / 8040

disklabel was clobbered

2002-07-23 Thread Erich M. Jenkins
I have recently had a problem with the disklabel on a drive in one of my servers. I had just installed an additional hard drive and was running a backup when the system halted due to a kernel fault (caused by dead RAM, as I later found out) and fsck managed to clobber my disklabel. The drive

<    1   2