Re: fdisk from fixit CD: geom not found

2008-02-18 Thread Jonathan McKeown
On Sunday 17 February 2008 23:55, Wojciech Puchar wrote:

  I'd still rather there wasn't an ``error'' message at all unless there's
  a genuine error: I'm planning for the case of an operator with limited
  skills doing a ``monkey see, monkey do'' restore (not trying to be rude,
  but

 monkey can do ifconfig, route and /etc/rc.d/sshd start

 then you do the rest

Except this is a disaster recovery plan: it must not rely on me being 
available. I'm looking at a scenario in which the survivors of the disaster 
have bought replacement hardware, hired someone who's done a bit of Linux, 
and handed them a set of offsite backup tapes and a ring-binder. (I can get 
most sites tapes offsite by 60+km on a daily basis: if a disaster 
simultaneously takes out, for example, the city of Durban - at sea level, 
population 3.5 million - and Pietermaritzburg, 80km inland and 750 metres 
above sea level, I'm not sure restoring our backups is going to be the 
biggest worry.)

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


fdisk from fixit CD: geom not found

2008-02-17 Thread Jonathan McKeown
As part of our disaster recovery planning, I'm working up a bare-metal 
recovery sequence that can be followed by someone who's used Linux (easier to 
find here than a FreeBSD admin).

My initial outline sequence was along the lines of:

Boot install CD and choose Fixit
fdisk -BI
extract saved disklabel from tape and install with bsdlabel
Initialise filesystems using stored output of dumpfs -m (from tape)
Restore filesystems from tape

I'm tripping up on the first step, which although it appears to create the 
slice, throws a ``Geom not found'' message - which is potentially worrying to 
someone blindly following a recovery script.

Is there a way to avoid this message, or would I be better off using the 
Configure option of sysinstall (and the W option to write the new slice 
table) before switching to Fixit mode to recover the disklabel (which is the 
next bit I need to test ``under lab conditions'')?

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fdisk from fixit CD: geom not found

2008-02-17 Thread NetOpsCenter

Wojciech Puchar wrote:


Boot install CD and choose Fixit


get live CD, it's better for this.


fdisk -BI
extract saved disklabel from tape and install with bsdlabel
Initialise filesystems using stored output of dumpfs -m (from tape)
Restore filesystems from tape


good you have such i plan. this is rare case today;)



I'm tripping up on the first step, which although it appears to 
create the


you forgot to bsdlabel -B ad0a (or da0s1a whatever you have) after 
restore


slice, throws a ``Geom not found'' message - which is potentially 
worrying to

someone blindly following a recovery script.

no idea, i don't use slices (just disklabel)

maybe kernel module not loaded?

is slice actually created?

as far as i remember i've got this message with bsdlabel -B, but i 
ignored it as everything worked fine.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



Aloha,

I get that response with many of the large hard drives I install. I dont 
think it means anything because once you just carry on FreeBSD doesn't 
seem to care. I think somebody posted that it was either bios or drive 
size related at one time.


~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fdisk from fixit CD: geom not found

2008-02-17 Thread Wojciech Puchar


Boot install CD and choose Fixit


get live CD, it's better for this.


fdisk -BI
extract saved disklabel from tape and install with bsdlabel
Initialise filesystems using stored output of dumpfs -m (from tape)
Restore filesystems from tape


good you have such i plan. this is rare case today;)



I'm tripping up on the first step, which although it appears to create the


you forgot to bsdlabel -B ad0a (or da0s1a whatever you have) after restore


slice, throws a ``Geom not found'' message - which is potentially worrying to
someone blindly following a recovery script.

no idea, i don't use slices (just disklabel)

maybe kernel module not loaded?

is slice actually created?

as far as i remember i've got this message with bsdlabel -B, but i ignored 
it as everything worked fine.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fdisk from fixit CD: geom not found

2008-02-17 Thread Jonathan McKeown
On Sunday 17 February 2008 21:51, Wojciech Puchar wrote:
  Boot install CD and choose Fixit

 get live CD, it's better for this.

To be honest, if I'm not using an install CD (which will do the job) I may as 
well look at making a custom recovery disk which just needs to be booted - 
but see below.

  fdisk -BI
  extract saved disklabel from tape and install with bsdlabel
  Initialise filesystems using stored output of dumpfs -m (from tape)
  Restore filesystems from tape

 good you have such i plan. this is rare case today;)

  I'm tripping up on the first step, which although it appears to create
  the

 you forgot to bsdlabel -B ad0a (or da0s1a whatever you have) after restore

Well spotted. I did say I hadn't tested this bit yet!

  slice, throws a ``Geom not found'' message - which is potentially
  worrying to someone blindly following a recovery script.

 no idea, i don't use slices (just disklabel)

 maybe kernel module not loaded?

 is slice actually created?

Yes.

 as far as i remember i've got this message with bsdlabel -B, but i ignored
 it as everything worked fine.

I'd still rather there wasn't an ``error'' message at all unless there's a 
genuine error: I'm planning for the case of an operator with limited skills 
doing a ``monkey see, monkey do'' restore (not trying to be rude, but 
experienced FreeBSD admins seem to be hard to come by here and I'd rather 
insult someone's intelligence than give them instructions which don't make 
sense without years of FreeBSD experience).

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: fdisk from fixit CD: geom not found

2008-02-17 Thread Wojciech Puchar

is slice actually created?


Yes.


so it's all right. just ignore it.




as far as i remember i've got this message with bsdlabel -B, but i ignored
it as everything worked fine.


I'd still rather there wasn't an ``error'' message at all unless there's a
genuine error: I'm planning for the case of an operator with limited skills
doing a ``monkey see, monkey do'' restore (not trying to be rude, but


monkey can do ifconfig, route and /etc/rc.d/sshd start

then you do the rest

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]