Re: vinum setup

From: synrat (synrat_at_wirewalk.org)
Date: 06/18/04

  • Next message: Brett Wiggins: "more kdm questions"
    Date: Fri, 18 Jun 2004 11:57:50 -0400 (EDT)
    
    

    thanx Greg, you're right as always.
    I booted into single user from start up and sure enough everything was
    editable then.

    I got another problem though.

    I set up 2 disks for vinum and want to allocate exisiting partitions to
    vinum mirrored volumes. I left 16 blocks at the begining, moved first
    partition ( swap ) to 281, recalculated offsets in vinum config with -16, run vinum
    config, everything's peachy, drives rebuild, fsck sees no errors, I edit
    fstab, reboot, vinum module loads but root can not be mounted as a vinum
    device, I still have to manually specify my regular root (
    /dev/das1a ) partition. dmesg output below and vinum/disklabel too.

    thanx a million. Greg for US president :)

    Mounting root from ufs:/dev/vinum/root
    missing unit number
    setrootbyname failed
    ffs_mountroot: can't find rootvp
    Root mount failed: 6

    disklabel ( similar for both disks )
    ---------------------------------

      a: 21094400 2109440 4.2BSD 2048 16384 89 # (Cyl. 131*- 1444*)
      b: 2109159 281 swap # (Cyl. 0*- 131*)
      c: 156248127 0 unused 0 0 # (Cyl. 0 - 9725*)
      e: 133044287 23203840 4.2BSD 2048 16384 89 # (Cyl. 1444*- 9725*)
      h: 156248111 16 vinum # (Cyl. 0*- 9725*)

    vinum
    ------------------

    drive a device /dev/ad2s1h
    drive b device /dev/ad3s1h

    volume root
    plex org concat
    sd length 21094400s driveoffset 2109424s drive a
    plex org concat
    sd length 21094400s driveoffset 2109424s drive

    volume home
    plex org concat
    sd length 133044287s driveoffset 23203824s drive a
    plex org concat
    sd length 133044287s driveoffset 23203824s drive b

    On Fri, 18 Jun 2004, Greg 'groggy' Lehey wrote:

    > [Format recovered--see http://www.lemis.com/email/email-format.html]
    >
    > Output wrapped.
    >
    > On Thursday, 17 June 2004 at 12:04:01 -0400, synrat wrote:
    > > 4.8
    > >
    > > I'm trying to setup partitions for vinum.
    > > I am in single user mode, but every time I try
    > > to modify swap size to accomodate for vinum confuration
    > > I get
    > >
    > > disklabel: ioctl DIOCWDINFO: open partition would move or shrink
    > > re-edit the label? [y]
    > >
    > > # size offset fstype [fsize bsize bps/cpg]
    > > a: 21094400 2109440 4.2BSD 2048 16384 89 # (Cyl. 131*- 1444*)
    > > b: 2109000 430 swap # (Cyl. 0 - 131*)
    > > c: 156248127 0 unused 0 0 # (Cyl. 0 - 9725*)
    > > e: 133044287 23203840 4.2BSD 2048 16384 89 # (Cyl. 1444*- 9725*)
    > > h: 156248111 16 vinum # (Cyl. 0*- 9725*)
    >
    > You can't change open partitions. You also can't unmount swap. If
    > you go from multi-user to single user mode, the swap remains mounted.
    > You'll need to boot to single user mode to do that.
    >
    > If this doesn't answer your question, more details, please, including
    > any log messages. Please don't wrap them.
    >
    > Greg
    > --
    > When replying to this message, please copy the original recipients.
    > If you don't, I may ignore the reply or reply to the original recipients.
    > For more information, see http://www.lemis.com/questions.html
    > Note: I discard all HTML mail unseen.
    > Finger grog@FreeBSD.org for PGP public key.
    > See complete headers for address and phone numbers.
    >
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Brett Wiggins: "more kdm questions"

    Relevant Pages

    • RE: One Last Plea For Vinum Assistance
      ... I myself have had one serious crash on a vinum RAID volume as ... drives were corrupted, instead of just one, making it impossible ... to Greg but ultimately he wasn't able to offer any suggestions ... > 2 subdisks: ...
      (freebsd-questions)
    • vinum limits disk size to 255MB
      ... I'm trying to set up vinum on a freshly installed FreeBSD 5.3-BETA7 ... drives to create a vinum volume. ... BIOS sector numbering starts with sector 1 ... The data for partition 1 is: ...
      (freebsd-questions)
    • RE: FreeBSD5.1 Vinum Mirror root
      ... Machine will run one copy of FreeBSD5.1 and has three hard drives: ... The 200GB drives are mirrored root vinum ... - Web server configuration & website version control ... - Keeps FreeBSD 5.1 up-to-date using cvsup nightly. ...
      (freebsd-questions)
    • Re: Vinum Subdisk Crashed - How To Repair?
      ... >> as I don't have a backup. ... > This should go away if you stop and restart Vinum. ... Disabling configuration updates ...
      (freebsd-questions)
    • vinum on atapi raid
      ... i'm trying to set up a concatenated vinum volume. ... sectors/track: 63 ... something similar happens when i'm using the concat command to vinum: ...
      (freebsd-questions)