Re: gmirror degraded

2012-10-11 Thread Warren Block
On Thu, 11 Oct 2012, Robert Fitzpatrick wrote: Just looking for some advice, I had a server lock up that uses gmirror for two RAID-1 arrays of the primary drive and a data drive. The data drive was reported as degraded after a reset of the server, but is rebuilding. It is comprised of two TB

Re: gmirror and normal users?

2011-04-08 Thread Ivan Voras
On 08/04/2011 16:43, Christopher Hilton wrote: Should a normal user be able to successfully: $ gmirror remove /dev/mirror/gm0 /dev/ad6 Or is this something that's just unlocked because I haven't mounted the drive yet? $ uname -a FreeBSD deathstar.example.com 8.2-STABLE FreeBSD

Re: gmirror load broken in 8.1 memstick

2010-09-06 Thread perryh
Matthew Seaman m.sea...@infracaninophile.co.uk wrote: If you've been able to run 'gmirror label' then geom_mirror.ko is almost certainly already loaded into your kernel, making 'gmirror load' superfluous. Check using kldstat(8). Fixit# kldstat Id Refs AddressSize Name 11

More gmirror problems (Re: gmirror load broken in 8.1 memstick)

2010-09-06 Thread perryh
I wrote: The good news is ... Fixit# ln -s /dist/boot/kernel /boot after which gmirror load works, creating /dev/mirror/gm0{,a,b}. and the bad news is that it still doesn't work: * gmirror load did create /dev/mirror/gm0{,a,b}, and it produced no output on stdout or stderr, but it

Re: gmirror load broken in 8.1 memstick

2010-09-05 Thread Matthew Seaman
On 05/09/2010 05:14:02, per...@pluto.rain.com wrote: Fixit# gmirror label -vb round-robin gm0 /dev/ad0s2a appeared to work properly. (I didn't write down the exact message, but it said something about the metadata having been written successfully.) However: Fixit# gmirror load gmirror:

Re: gmirror gm0

2010-08-10 Thread ill...@gmail.com
On 10 August 2010 17:33, Dick Hoogendijk d...@nagual.nl wrote:  How can I totally remove a created gmirror (gm0) I know of the option gmirror forget gm0 but does that make the mirror disappear? # gmirror clear gm0 perhaps?

Re: gmirror+gjournal: spontaneous reboots on excessive disk access

2010-01-18 Thread Ivan Voras
Michael Grimm wrote: Hi -- I'm running a gmirror raid1 plus gjournal for a year now. This is a 7.2-RELEASE-p6 right now. Both disks are regular ATA and healthy according smartctl. Sometimes, not always though, I do experience spontaneous reboots without leaving any hints in logfiles whenver I

Re: gmirror, gjournal and glabel - which order?

2009-10-13 Thread krad
2009/10/13 Daniel Bye freebsd-questi...@slightlystrange.org On Tue, Oct 13, 2009 at 01:08:46AM +0300, Manolis Kiagias wrote: Daniel Bye wrote: Hi all, I'm having a hard time trying to work out which order I should set up gmirror, glabel and gjournal on a new system. I want to

Re: gmirror, gjournal and glabel - which order?

2009-10-13 Thread Vincent Hoffman
krad wrote: 2009/10/13 Daniel Bye freebsd-questi...@slightlystrange.org On Tue, Oct 13, 2009 at 01:08:46AM +0300, Manolis Kiagias wrote: Daniel Bye wrote: Hi all, I'm having a hard time trying to work out which order I should set up gmirror, glabel and gjournal on a new

Re: gmirror, gjournal and glabel - which order?

2009-10-12 Thread Manolis Kiagias
Daniel Bye wrote: Hi all, I'm having a hard time trying to work out which order I should set up gmirror, glabel and gjournal on a new system. I want to journal my /home partition, label all the partitions for ease of reference, and use gmirror to save me in the event a disk goes bad. I am

Re: gmirror, gjournal and glabel - which order?

2009-10-12 Thread Daniel Bye
On Tue, Oct 13, 2009 at 01:08:46AM +0300, Manolis Kiagias wrote: Daniel Bye wrote: Hi all, I'm having a hard time trying to work out which order I should set up gmirror, glabel and gjournal on a new system. I want to journal my /home partition, label all the partitions for ease of

Re: Gmirror

2009-08-09 Thread Michael Christie
Hi there all, I need your help. I have a supermicro server which was running Freebsd 7.1 with 2 SATA drives. I have had G mirror running on the server. I needed to do a full reinstall of freebsd but was unable to disengage the mirror at the time. When installing Freebsd, on to the drives i see i

Re: Gmirror

2009-08-09 Thread Roland Smith
On Sun, Aug 09, 2009 at 10:41:05PM +1000, Michael Christie wrote: Hi there all, I need your help. I have a supermicro server which was running Freebsd 7.1 with 2 SATA drives. I have had G mirror running on the server. I needed to do a full reinstall of freebsd but was unable to disengage the

Re: Gmirror

2009-08-09 Thread Tim Judd
On 8/9/09, Michael Christie vk3...@gmail.com wrote: Hi there all, I need your help. I have a supermicro server which was running Freebsd 7.1 with 2 SATA drives. I have had G mirror running on the server. I needed to do a full reinstall of freebsd but was unable to disengage the mirror at the

Re: Gmirror

2009-08-09 Thread Michael Christie
Yes you are right , I would like to clean off the drives, defalt and clean, then reformat. and reinstall, i did see a post some where on how to do it with the fixit cd, but can not find it now. any idears ? Thanks Mick On Mon, Aug 10, 2009 at 5:07 AM, Tim Judd taj...@gmail.com wrote: On

Re: gmirror on different disks

2009-08-03 Thread Mel Flynn
On Friday 31 July 2009 02:24:31 Grzegorz Danecki wrote: Hello everybody! I'm just wondering, I had gmirror with two disks: Master: ad0 ST3160815AS/4.AAB Serial ATA II Master: ad2 ST3160815AS/4.AAB Serial ATA II unfortunately ad0 failed today, leaving me with degraded array and ad0

Re: gmirror / crash dumps

2009-08-01 Thread Kamigishi Rei
Anton Shterenlikht wrote: 4) I have the following in my 7-stable kernel The long and the short of it is I don't get any dumps. I read somewhere that you can't dump onto a gmirror device. That is incorrect, but I don't know the cause of your problem. I run nothing but gmirror and dumps

Re: gmirror / crash dumps

2009-07-31 Thread Adam Vande More
On Thu, Jul 30, 2009 at 11:23 PM, Philip M. Gollucci pgollu...@p6m7g8.comwrote: Hi, Say I've got the following: /dev/mirror/gm0s1bnoneswapsw /dev/mirror/gm0s1a989M390M520M43%/ /dev/mirror/gm0s1g 15G1.7G 12G13%/usr

Re: gmirror / crash dumps

2009-07-31 Thread Anton Shterenlikht
On Fri, Jul 31, 2009 at 12:46:32AM -0500, Adam Vande More wrote: On Thu, Jul 30, 2009 at 11:23 PM, Philip M. Gollucci pgollu...@p6m7g8.comwrote: Hi, Say I've got the following: /dev/mirror/gm0s1bnoneswapsw /dev/mirror/gm0s1a989M390M520M43%/

Re: gmirror on different disks

2009-07-31 Thread Adam Vande More
On Fri, Jul 31, 2009 at 5:24 AM, Grzegorz Danecki g.dane...@gmail.comwrote: Hello everybody! I'm just wondering, I had gmirror with two disks: Master: ad0 ST3160815AS/4.AAB Serial ATA II Master: ad2 ST3160815AS/4.AAB Serial ATA II unfortunately ad0 failed today, leaving me with degraded

Re: gmirror per partition

2009-07-03 Thread Anton Shterenlikht
On Thu, Jul 02, 2009 at 03:48:41PM +0200, Wojciech Puchar wrote: # gmirror label -vb round-robin root /dev/da0p2 gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. isn't that partition accessed by other process or mounted? should it not be mounted? yes it should

Re: gmirror per partition

2009-07-03 Thread Alban Hertroys
On Jul 3, 2009, at 12:12 PM, Anton Shterenlikht wrote: now to mirror root partition. My problem is that root is mounted and cannot (?) be unmounted, unlike /efi, on the live system. # gpart add -b 819234 -s 1048576 -t freebsd-ufs da1 da1p2 added # # gmirror label -vb round-robin root

SUCCESS: Re: gmirror per partition

2009-07-03 Thread Anton Shterenlikht
On Fri, Jul 03, 2009 at 01:18:28PM +0200, Alban Hertroys wrote: On Jul 3, 2009, at 12:12 PM, Anton Shterenlikht wrote: now to mirror root partition. My problem is that root is mounted and cannot (?) be unmounted, unlike /efi, on the live system. # gpart add -b 819234 -s 1048576

Re: gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-07-02 Thread Anton Shterenlikht
On Wed, Jul 01, 2009 at 10:00:54PM +0200, Wojciech Puchar wrote: It's better to use gmirror per partition. Like this? # gmirror label -vb round-robin root /dev/da0p2 gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. isn't that partition accessed by other process or

Re: gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-07-02 Thread Wojciech Puchar
# gmirror label -vb round-robin root /dev/da0p2 gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. isn't that partition accessed by other process or mounted? should it not be mounted? yes it should not, no matter what architecture.

gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-07-01 Thread Anton Shterenlikht
On Thu, Jun 25, 2009 at 09:41:13AM -0700, Marcel Moolenaar wrote: On Jun 25, 2009, at 4:02 AM, Anton Shterenlikht wrote: dev_taste(DEV,mirror/gm0) g_part_taste(PART,mirror/gm0) GEOM: mirror/gm0: the secondary GPT table is corrupt or invalid. GEOM: mirror/gm0: using the primary only --

Re: gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-07-01 Thread Wojciech Puchar
It's better to use gmirror per partition. Like this? # gmirror label -vb round-robin root /dev/da0p2 gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. isn't that partition accessed by other process or mounted? ___

Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-06-30 Thread Lorenzo Perone
Hi, On 28.06.2009, at 10:49, Pawel Jakub Dawidek wrote: I for one never put mirror on already partitioned disk. Although it is sometimes safe to use the last sector. Gjournal already looks for UFS and if UFS is in place, it figures out if the last sector is in use - it isn't if

Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-06-29 Thread Anton Shterenlikht
On Thu, Jun 25, 2009 at 09:41:13AM -0700, Marcel Moolenaar wrote: On Jun 25, 2009, at 4:02 AM, Anton Shterenlikht wrote: dev_taste(DEV,mirror/gm0) g_part_taste(PART,mirror/gm0) GEOM: mirror/gm0: the secondary GPT table is corrupt or invalid. GEOM: mirror/gm0: using the primary only --

Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-06-28 Thread Pawel Jakub Dawidek
On Sat, Jun 27, 2009 at 06:20:49PM -0700, Marcel Moolenaar wrote: Using the last sector is not only flawed because it creates a race condition, it's flawed in the assumption that you can always make a geom part of a mirror by storing meta-data on the geom without causing corruption. This whole

Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-06-28 Thread Ivan Voras
2009/6/28 Marcel Moolenaar xcl...@mac.com: Using the last sector is not only flawed because it creates a race condition, it's flawed in the assumption that you can always make a geom part of a mirror by storing meta-data on the geom without causing corruption. This whole idea of using the

Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-06-28 Thread Aisaka Taiga
Ivan Voras wrote: Yes, it would be cleaner to implement but it would also make the mirrored devices unbootable. But maybe the class of users needing the functionality is smaller now. Most dedicated server providers can't afford to use hardware RAID systems because that would drastically

Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-06-27 Thread Marcel Moolenaar
On Jun 27, 2009, at 4:15 AM, Ivan Voras wrote: Marcel Moolenaar wrote: On Jun 25, 2009, at 4:02 AM, Anton Shterenlikht wrote: dev_taste(DEV,mirror/gm0) g_part_taste(PART,mirror/gm0) GEOM: mirror/gm0: the secondary GPT table is corrupt or invalid. GEOM: mirror/gm0: using the primary only --

Re: gmirror gm0 destroyed on shutdown; GPT corrupt

2009-06-25 Thread Marcel Moolenaar
On Jun 25, 2009, at 4:02 AM, Anton Shterenlikht wrote: dev_taste(DEV,mirror/gm0) g_part_taste(PART,mirror/gm0) GEOM: mirror/gm0: the secondary GPT table is corrupt or invalid. GEOM: mirror/gm0: using the primary only -- recovery suggested.

Re: gmirror THEN geli, correct?

2009-04-06 Thread Oliver Fromme
Modulok modu...@gmail.com wrote: I'm looking for a confirmation on the order: When setting up a (root partiton) gmirror+geli, what is the propper order? e.g: gmirror the disks and THEN initialize geli on the /dev/mirror partitions? Is this correct? You can also do it the other way round.

Re: gmirror THEN geli, correct?

2009-04-06 Thread Wojciech Puchar
Modulok modu...@gmail.com wrote: I'm looking for a confirmation on the order: When setting up a (root partiton) gmirror+geli, what is the propper order? e.g: gmirror the disks and THEN initialize geli on the /dev/mirror partitions? Is this yes it is right order. with geli then gmirror -

Re: gmirror THEN geli, correct?

2009-04-06 Thread Oliver Fromme
Wojciech Puchar wrote: Modulok modu...@gmail.com wrote: I'm looking for a confirmation on the order: When setting up a (root partiton) gmirror+geli, what is the propper order? e.g: gmirror the disks and THEN initialize geli on the /dev/mirror partitions? Is this yes it is

Re: gmirror THEN geli, correct?

2009-04-05 Thread Roland Smith
On Sun, Apr 05, 2009 at 12:58:46PM -0600, Modulok wrote: List, I'm looking for a confirmation on the order: When setting up a (root partiton) gmirror+geli, what is the propper order? e.g: gmirror the disks and THEN initialize geli on the /dev/mirror partitions? Is this correct? That

Re: gmirror 6.2 - 7.1

2009-04-01 Thread Wojciech Puchar
Hello everyone, Do you think the following way to upgrade gmirror 6.2 - 7.1 is safe for the average person? yes 1. Backup 2. Remove one of the two SCSI HDDs from the gmirror 3. Install 7.1 on the removed HDD 4. Instruct the boot loader to boot from the 7.1 HDD 5. Reboot 6. Copy data 7.

Re: gmirror 6.2 - 7.1

2009-04-01 Thread Anton Yuzhaninov
On Wed, 1 Apr 2009 10:11:56 +0200, Iv Ray wrote: IR Do you think the following way to upgrade gmirror 6.2 - 7.1 is safe IR for the average person? IR IR (The server is in a remote data center without physical console access.) gmirror created on freebsd 6 works fine on freebsd 7 1. Backup (it

Re: gmirror keeps breaking

2009-02-21 Thread Wojciech Puchar
Is gmirror known to break on power failure - i.e., one of the drives (the same drive every time) becomes unsynchronized, needing a rebuild? if you turned autosync off - yes turn it on or do gmirror rebuild ___ freebsd-questions@freebsd.org mailing

Re: gmirror and the UFS file systems

2008-11-28 Thread Mel
On Friday 28 November 2008 18:08:19 Andrew Falanga wrote: I'm getting ready to move forward on enabling gmirror on my churches website server (FreeBSD 7.0-RELEASE p4). I used defaults during the install (most importantly for this, the file system defaults). I've read in the manual pages

Re: gmirror and the UFS file systems

2008-11-28 Thread Wojciech Puchar
I'm getting ready to move forward on enabling gmirror on my churches website server (FreeBSD 7.0-RELEASE p4). I used defaults during the install (most importantly for this, the file system defaults). I've read in the manual pages that the data for the mirror is contained in the last sector of

Re: Re: gmirror and the UFS file systems

2008-11-28 Thread af300wsm
is your partition size multiply of fragment size without remainder? if not (quite a big chance) at least one sector at the end is unused and never be. so go on, but then fix disklabel, as c partition is 1 sector smaller. of course - boot from livecd to do this. Thanks both Mel and

Re: gmirror + gjournal setup question

2008-11-06 Thread Volodymyr Kostyrko
Gabriel Lavoie wrote: Hello, I would like to know what is the best way to setup gmirror + gjournal, on a slice level on two hard drives. Do I set up a mirrored journal partition + mirrored journalized slice (gmirror on top of gjournal) on which I create my labels with bsdlabels (will create

Re: gmirror + gjournal setup question

2008-11-06 Thread Gabriel Lavoie
Thanks for your reply. I finally understood that with the power failure tests I made. Gabriel 2008/11/6 Volodymyr Kostyrko [EMAIL PROTECTED] Gabriel Lavoie wrote: Hello, I would like to know what is the best way to setup gmirror + gjournal, on a slice level on two hard drives. Do I set

Re: gmirror slice insertion, FAILURE - READ_DMA status=51READY, DSC, ERROR

2008-11-01 Thread CyberLeo Kitsana
Thomas Sparrevohn wrote: The error occured after I had the disk for a couple of days - WHat puzzled me was that the drive did not do it automatically Hard disks will not map uncorrectable bad sectors on read automatically, as it no longer knows what the contents of that sector should be. In

Re: gmirror slice insertion, FAILURE - READ_DMA status=51READY, DSC, ERROR

2008-10-31 Thread Thomas Sparrevohn
On Wednesday 29 October 2008 10:04:39 Jeremy Chadwick wrote: On Wed, Oct 29, 2008 at 02:00:21AM -0700, Carl wrote: Jeremy Chadwick wrote: Seagate chooses to encode some raw data for some SMART attributes in a custom format. The format is not publicly documented. This is why you have to

Re: gmirror + subset of partitions gjournal'd, autosync setting?

2008-10-30 Thread Carl
Carl wrote: I've built a GEOM mirror on a single slice of a single disk and am about to insert the second disk. Of the partitions in the mirror, I made only a few of them gjournal'd. I've seen it recommended that one disable autosynchronization for the mirror if using journaled filesystems.

Re: gmirror + subset of partitions gjournal'd, autosync setting?

2008-10-30 Thread Jeremy Chadwick
On Wed, Oct 29, 2008 at 11:04:37PM -0700, Carl wrote: Carl wrote: I've built a GEOM mirror on a single slice of a single disk and am about to insert the second disk. Of the partitions in the mirror, I made only a few of them gjournal'd. I've seen it recommended that one disable

Re: gmirror slice insertion, FAILURE - READ_DMA status=51READY, DSC, ERROR

2008-10-29 Thread Carl
Jeremy Chadwick wrote: Seagate chooses to encode some raw data for some SMART attributes in a custom format. The format is not publicly documented. This is why you have to go off of the adjusted values shown in VALUE/WORST/THRESH. How am I supposed to know all of this?! You aren't -- it comes

Re: gmirror slice insertion, FAILURE - READ_DMA status=51READY, DSC, ERROR

2008-10-29 Thread Jeremy Chadwick
On Wed, Oct 29, 2008 at 02:00:21AM -0700, Carl wrote: Jeremy Chadwick wrote: Seagate chooses to encode some raw data for some SMART attributes in a custom format. The format is not publicly documented. This is why you have to go off of the adjusted values shown in VALUE/WORST/THRESH. How am

Re: gmirror slice insertion, FAILURE - READ_DMA status=51READY, DSC, ERROR

2008-10-29 Thread Jeremy Chadwick
On Tue, Oct 28, 2008 at 08:41:31PM -0700, Carl wrote: Jeremy Chadwick said: ad6: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=134802751 Are you sure you don't have a bad hard disk? This looks to be like a classic block/sector failure. I hadn't realized that a

Re: gmirror slice insertion, FAILURE - READ_DMA status=51READY, DSC, ERROR

2008-10-28 Thread Wojciech Puchar
so good. Began Ralf's procedure for inserting ad4s1 into mirror/gm0. The synchronization began and reached 6% when this little horror appeared: ad6: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=134802751 GEOM_MIRROR: Request failed (error=5).

Re: gmirror slice insertion, FAILURE - READ_DMA status=51READY, DSC, ERROR

2008-10-28 Thread Wojciech Puchar
error=40UNCORRECTABLE LBA=134802751 Are you sure you don't have a bad hard disk? This looks to be like a classic block/sector failure. This does not appear to be the infamous famous DMA timeout problem, especially if this is the only error you're getting. he can temporarity boot with

Re: gmirror slice insertion, FAILURE - READ_DMA status=51READY, DSC, ERROR

2008-10-28 Thread Jeremy Chadwick
On Tue, Oct 28, 2008 at 12:04:49PM +0100, Wojciech Puchar wrote: error=40UNCORRECTABLE LBA=134802751 Are you sure you don't have a bad hard disk? This looks to be like a classic block/sector failure. This does not appear to be the infamous famous DMA timeout problem, especially if this is

Re: gmirror slice insertion, FAILURE - READ_DMA status=51READY, DSC, ERROR

2008-10-28 Thread Carl
Jeremy Chadwick said: ad6: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=134802751 Are you sure you don't have a bad hard disk? This looks to be like a classic block/sector failure. I hadn't realized that a bad block would manifest itself with a message about DMA.

Re: gmirror slice insertion, FAILURE - READ_DMA status=51READY, DSC, ERROR

2008-10-27 Thread Jeremy Chadwick
On Mon, Oct 27, 2008 at 06:56:24PM -0700, Carl Voth wrote: I'm setting up a dual-disk server and am trying to bring it up with gmirror and gjournal. One slice per disk, the goal being to create a single mirror from said slices with some of the partitions journaled. Installed

Re: gmirror prerequisite question SOLVED

2008-10-06 Thread Dino Vliet
I've bought a secondary HDD to attach to my server running freebsd 7.0. I want to enable gmirror on it (will reinstall everything from scratch), you don't have to. but I want to know if my hardware is setup correctly as a prerequisite for doing this operation. The command dmesg | grep

Re: gmirror prerequisite question

2008-10-05 Thread Edwin Groothuis
Today I mirrored my new harddisk with the instructions at http://www.freebsddiary.org/gmirror.php Right now I'm synchronized up to 65% :-) Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ [EMAIL PROTECTED] Weblog: http://www.mavetju.org/weblog/

Re: gmirror prerequisite question

2008-10-04 Thread Manolis Kiagias
Dino Vliet wrote: Hey freebsd list, I've bought a secondry HDD to attach to my server running freebsd 7.0. I want to enable gmirror on it (will reinstall everything from scratch), but I want to know if my hardware is setup correctly as a prerequisite for doing this operation. The command

Re: gmirror prerequisite question

2008-10-04 Thread Wojciech Puchar
I've bought a secondry HDD to attach to my server running freebsd 7.0. I want to enable gmirror on it (will reinstall everything from scratch), you don't have to. but I want to know if my hardware is setup correctly as a prerequisite for doing this operation. The command dmesg | grep

Re: gmirror metadata: end of slice or end of disk?

2008-06-27 Thread Rudy
Mark Boolootian wrote: Hi folks, I'm trying to understand exactly where on disk gmirror is going to write its metadata, It just tosses the info in the end of your disk/slice/partition -- I think ;) In your example, you had a da1d... you could do partition level mirroring instead of whole

Re: gmirror and resizing partitions..

2008-06-10 Thread Wojciech Puchar
more exact info please. gmirror status mount or cat /etc/fstab now much better - i know that you mirrored whole drives and then partitioned. are whole mirror labeled? if yes - what partition you have to trim down? if now - where are place (give me bsdlabel gm0s1 output) as you have 2

Re: gmirror and resizing partitions..

2008-06-09 Thread Reid Linnemann
Written by B. Cook on 06/09/08 10:23 Hello all, I have a FreeBSD 7 machine that I am running gmirror on (ad4 and ad6). there is an /exports and /home that need to be resized. (right now they each are about 55G and /home needed to have been 100G and exports 10G) what do I need to do

Re: gmirror and resizing partitions..

2008-06-09 Thread Wojciech Puchar
there is an /exports and /home that need to be resized. (right now they each are about 55G and /home needed to have been 100G and exports 10G) more exact info please. gmirror status mount or cat /etc/fstab ___ freebsd-questions@freebsd.org

Re: gmirror and resizing partitions..

2008-06-09 Thread B. Cook
On Jun 9, 2008, at 12:12 PM, Wojciech Puchar wrote: there is an /exports and /home that need to be resized. (right now they each are about 55G and /home needed to have been 100G and exports 10G) more exact info please. gmirror status mount or cat /etc/fstab NameStatus

Re: gmirror, geli, gjournal performance

2008-04-21 Thread Wojciech Puchar
I was replacing a disk in a gmirror+geli pair and decided to compare the performance of gmirror+geli+gjournal before adding the new disk. too much mixer in one to give exact answer. gmirror - no slowdown, faster reads when at least 2 concurrent, near 0 CPU load geli - high CPU load,

Re: gmirror, geli, gjournal performance

2008-04-19 Thread Ivan Voras
hideo wrote: Hi everyone, I was replacing a disk in a gmirror+geli pair and decided to compare the performance of gmirror+geli+gjournal before adding the new disk. When using these three together is the appropriate order to 1) fdisk and label 2) mirror the disk, 3) geli the partitions, and 4)

Re: gmirror disk fail questions...

2008-04-18 Thread Christopher Cowart
Gary Newcombe wrote: [...] # gmirror status [mesh:/var/log]# gmirror status NameStatus Components mirror/gm0 DEGRADED ad4 looking in /dev/ however, we have crw-r- 1 root operator0, 83 17 Apr 13:58 ad4 crw-r- 1 root operator0, 91 17 Apr 13:58 ad4s1

Re: gmirror disk fail questions...

2008-04-18 Thread Gary Newcombe
On Fri, 18 Apr 2008 10:40:04 -0700, Christopher Cowart [EMAIL PROTECTED] wrote: Gary Newcombe wrote: [...] # gmirror status [mesh:/var/log]# gmirror status NameStatus Components mirror/gm0 DEGRADED ad4 looking in /dev/ however, we have crw-r- 1 root

Re: gmirror + glabel + gjournal and 7.0 installation

2008-02-29 Thread Ivan Voras
HN wrote: Not entirely clear in my mind how to do this. I've got: http://people.freebsd.org/~rse/mirror/ for the mirroring, but don't have a grasp of how glabel and gjournal fit into this. Can I do this with sysinstall (should I ?) and what order should I be adding things in ? Can I

Re: gmirror on slice

2008-02-24 Thread Bogdan Ćulibrk
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Gerzo wrote: | Hello people, | | I'm trying to set up a gmirror on two slices, but I am stuck | somewhere. I am unable to find out what is wrong. Here's what I have | done so far: | | I have 2 disks in the box. I have created 2 slices on

Re: gmirror on slice

2008-02-23 Thread Wojciech Puchar
Now I want to initialize gmirror on slice 1: ha-db1# gmirror label -v -b round-robin gm0 /dev/ad4s1 gmirror: Can't store metadata on /dev/ad4s1: Operation not permitted. ha-db1# sysctl kern.geom.debugflags=16 you try to make a mirror on used slice or some partition of that

Re: gmirror challenge

2008-01-21 Thread Jason Morgan
On Mon, Jan 21, 2008 at 03:41:16PM -0800, Jeff Pflueger wrote: I have a server and am using gmirror to mirror two disks. The intent was to double my security...but my experience has been that it has generally doubled the amount of time that the server goes down! gm0s1 is the name of the

Re: gmirror challenge

2008-01-21 Thread Jason Morgan
On Mon, Jan 21, 2008 at 05:35:46PM -0800, Jeff Pflueger wrote: Hey Jeff, Try: gmirror forget ad6s1 From gmirror(8): remove Remove the given component(s) from the mirror and clear meta- data on it. and futher on: One disk failed. Replace it with a

Re: gmirror

2007-09-27 Thread Brian A. Seklecki
The size colum can be human readable number (ex, 5g) and the offset can be the name of the previous partition. For the offset and size of the first and last partitions respectively use *. Read the disklabel(8) man page for more details -- it is actually a real well written one. I wouldn't worry

Re: gmirror woes

2007-09-12 Thread Wojciech Puchar
Priority: 0 Flags: DIRTY GenID: 1 SyncID: 2 ID: 1129080348 But when I try to run gmirror configure -a mirror/gm0s1, I get: No such device: mirror/gm0s1. Can someone give me some pointers here? gmirror configure -a gm0s1 (no mirror/ here) Thanks, --Brian

Re: gmirror woes

2007-09-11 Thread Eric Crist
On Sep 11, 2007, at 4:31 PMSep 11, 2007, Brian McCann wrote: I had a disk die in a gmirror set, and I'm trying to replace it, but I'm having a heck of a time. I can see the mirror set in gmirror list: [snip] [PLUG] Take at peek at https://www.secure-computing.net/wiki/ index.php/Gmirror

Re: gmirror woes

2007-09-11 Thread Norberto Meijome
On Tue, 11 Sep 2007 17:31:34 -0400 Brian McCann [EMAIL PROTECTED] wrote: But when I try to run gmirror configure -a mirror/gm0s1, I get: No such device: mirror/gm0s1. have u tried with either /dev/mirror/gm0s1 or gm0s1 ? _ {Beto|Norberto|Numard} Meijome They

Re: gmirror woes

2007-09-11 Thread Brian McCann
Thanks Eric! --Brian On 9/11/07, Eric Crist [EMAIL PROTECTED] wrote: On Sep 11, 2007, at 4:31 PMSep 11, 2007, Brian McCann wrote: I had a disk die in a gmirror set, and I'm trying to replace it, but I'm having a heck of a time. I can see the mirror set in gmirror list: [snip]

Re: gmirror and booting one and/or the other of the twins, then rebuilding raid 1

2007-09-05 Thread Nikos Vassiliadis
On Wednesday 05 September 2007 06:09, John Crawford wrote: I'd like to be able to boot either of the two drives. That's up to your BIOS. FreeBSD will mount / from the gmirror, which will be backed by one or more disks. Earlier stages will use BIOS to load the kernel, etc. May I suggest {{{

Re: gmirror woes on 6.2-S, Aug 1

2007-08-16 Thread Pawel Jakub Dawidek
On Wed, Aug 15, 2007 at 02:57:19PM -0700, Kelsey Cummings wrote: FreeBSD meno 6.2-STABLE FreeBSD 6.2-STABLE #3: Wed Aug 1 08:21:29 PDT 2007 root@:/usr/obj/usr/src/sys/SMP i386 I just swapped a gmirror pair of disks into a new box and have run into a problem that I can't seem to figure

Re: gmirror - one provider won't activate

2007-04-20 Thread [EMAIL PROTECTED]
On 19/04/07, Cam Baillie [EMAIL PROTECTED] wrote: I set up a RAID 1 duplex following the well-laid out OnLamp article. I had successfully synchronised both disks prior to rebooting. Then I rebooted and the ad3 disk wouldn't activate. The system boots off of ad0 while slices within ad1 and

Re: gmirror device numbers

2007-04-12 Thread [EMAIL PROTECTED]
On 11/04/07, Toomas Aas [EMAIL PROTECTED] wrote: Hello! I have a server with gmirror volumes. Backup of this server is being done with Amanda, which uses GNU tar and its --listed-incremental option (snapshot files) in order to do incremental backups. It seems that gmirror devices get a

Re: gmirror device numbers

2007-04-12 Thread Toomas Aas
[EMAIL PROTECTED] wrote: On 11/04/07, Toomas Aas [EMAIL PROTECTED] wrote: It seems that gmirror devices get a different 'device number' on each boot (each time the gmirror is created). Since the device number is stored in GNU tar's snapshot file, it effectively means that after rebooting

Re: gmirror: degraded, Component ad4 (device gm0) broken, skipping.

2007-02-14 Thread Brian A. Seklecki
gmirror insert gm0 ad4 The big question is: In your example, ad4 has already been prepped for use in as a component in the gmirror by ? Or will it just overwrite anything on ad4 regardless? ~BAS ___ freebsd-questions@freebsd.org mailing list

Re: gmirror: degraded, Component ad4 (device gm0) broken, skipping.

2007-02-14 Thread John Nielsen
On Wednesday 14 February 2007 15:13, Brian A. Seklecki wrote: gmirror insert gm0 ad4 The big question is: In your example, ad4 has already been prepped for use in as a component in the gmirror by ? Or will it just overwrite anything on ad4 regardless? No prep is necessary when using

Re: gmirror setup

2007-01-23 Thread James Riendeau
i just set up my first gmirror raid1, and... it was really simple. too simple. ok... what did i skip or do wrong?, was my first thought. i follow the doc from onlamp.com: http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html?page=1 i did have one giant deviation tho, and im

Re: gmirror setup

2007-01-22 Thread Jason Morgan
On Mon, Jan 22, 2007 at 10:11:05PM -0600, Jonathan Horne wrote: i just set up my first gmirror raid1, and... it was really simple. too simple. ok... what did i skip or do wrong?, was my first thought. I thought the exact same thing. My previous experience was with vinum and, while it was

Re: gmirror on root filesystem

2007-01-04 Thread Russell E. Meek
Quoting Josh Paetzel [EMAIL PROTECTED]: I'm trying to use gmirror on my root filesystem. I've set sysctl kern.geom.debugflags to 16 and yet can't label the root partition. # gmirror label -v root /dev/ad4s1a Can't store metadata on /dev/ad4s1a: Operation not permitted. I was able to do this

Re: gmirror on root filesystem

2007-01-04 Thread Josh Paetzel
On Thursday 04 January 2007 13:35, Russell E. Meek wrote: Quoting Josh Paetzel [EMAIL PROTECTED]: I'm trying to use gmirror on my root filesystem. I've set sysctl kern.geom.debugflags to 16 and yet can't label the root partition. # gmirror label -v root /dev/ad4s1a Can't store

Re: gmirror (was Re: It's time to bite the bullet and do a major upgrade...)

2006-11-15 Thread John Nielsen
On Wednesday 15 November 2006 10:40, Jonathan McKeown wrote: On Wednesday 15 November 2006 16:58, John Nielsen wrote: It is possible to convert regular devices into gmirror members after they have data on them, but unless you're extremely careful there's a small risk of the gmirror metadata

Re: gmirror (was Re: It's time to bite the bullet and do a major upgrade...)

2006-11-15 Thread Jonathan McKeown
On Wednesday 15 November 2006 18:52, John Nielsen wrote: [risk that last sector of geom(4) provider is already in use] It's generally significantly less likely to even be available for use due to device sizes not dividing evenly into the block sizes used by the filesystem, etc. Depending on

Re: gmirror HD failure detection

2006-09-21 Thread Alex Zbyslaw
Robin Becker wrote: Dave wrote: Hi, I've got smartd going on a gmirror system, however when smartd starts up it says it can't find the various drives. I've tried both the autodetection line as well as specifying the individual drives. If this does work i'd like to know about it as i

Re: gmirror HD failure detection

2006-09-21 Thread John Nielsen
On Thursday 21 September 2006 06:15, Alex Zbyslaw wrote: Robin Becker wrote: Dave wrote: Hi, I've got smartd going on a gmirror system, however when smartd starts up it says it can't find the various drives. I've tried both the autodetection line as well as specifying the individual

Re: gmirror HD failure detection

2006-09-21 Thread Robin Becker
John Nielsen wrote: .. Use both approaches since they tell you different things which just happen some of the time to coincide. If you happen to be one of the smart admins who actually reviews the output of the periodic scripts, then simply adding daily_status_gmirror_enable=YES

Re: gmirror HD failure detection

2006-09-20 Thread Bob Johnson
On 9/20/06, Robin Becker [EMAIL PROTECTED] wrote: After using Dru Lavigne's excellent article http://tinyurl.com/da66a about Raid-1 I have a full Raid-1 mirror on a new rack server. I'm wondering if anyone can tell me how best to monitor the hardware status to detect imminent failure of one of

Re: gmirror HD failure detection

2006-09-20 Thread Dave
, but am not sure which one. Thanks. Dave. - Original Message - From: Bob Johnson [EMAIL PROTECTED] To: Robin Becker [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Wednesday, September 20, 2006 1:02 PM Subject: Re: gmirror HD failure detection On 9/20/06, Robin Becker

Re: gmirror HD failure detection

2006-09-20 Thread Alex Zbyslaw
Robin Becker wrote: After using Dru Lavigne's excellent article http://tinyurl.com/da66a about Raid-1 I have a full Raid-1 mirror on a new rack server. I'm wondering if anyone can tell me how best to monitor the hardware status to detect imminent failure of one of the disks? Do I use

  1   2   >