Metadevices entry in /etc/vfstab

Hi
Following metadevices are configured using Disksuite
bash-2.05b# metastat -p
d0 -m d10 d20 1
d10 1 1 c1t0d0s0
d20 1 1 c1t1d0s0
d1 -m d11 d21 1
d11 1 1 c1t0d0s1
d21 1 1 c1t1d0s1
d4 -m d14 d24 1 <- /export/home
d14 1 1 c1t0d0s4
d24 1 1 c1t1d0s4
and the /etc/vfstab looks like:
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s1 - - swap - no -
/dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no logging
#/dev/md/dsk/d4 /dev/md/rdsk/d4 /export/home ufs 1 no logging
/dev/dsk/c1t0d0s4 /dev/rdsk/c1t0d0s4 /export/home ufs 2 yes logging
swap - /tmp tmpfs - yes -
The root file system is mounted as metadevice
/dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no logging
But not /export/home.
I can not mount using metadevice e.g.
/dev/md/dsk/d4 /dev/md/rdsk/d4 /export/home ufs 1 no logging
The only way I can mount it is as disk device?
/dev/dsk/c1t0d0s4 /dev/rdsk/c1t0d0s4 /export/home ufs 2 yes logging
Any help appreciated
MS

Thanks Darren,
Just after installing of the operating system
$ df -t ufs
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/dsk/c1t0d0s0 5165838 3459816 1654364 68% /
/dev/dsk/c1t0d0s4 6198606 4232216 1904404 69% /export/home
$ prtvtoc /dev/rdsk/c1t0d0s2
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 0 10491456 10491455 /
1 3 01 10491456 2106432 12597887
2 5 00 0 143349312 143349311
4 8 00 12597888 12587712 25185599 /export/home
7 0 00 25185600 20352 25205951
Then after running number of metadb, metainit and metattach commands
metadb -a -f -c 2 c1t0d0s7 c1t1d0s7
bash-2.05b# metainit -f d10 1 1 c1t0d0s0
d10: Concat/Stripe is setup
bash-2.05b# metainit -f d14 1 1 c1t0d0s4
d14: Concat/Stripe is setup
bash-2.05b# metainit -f d11 1 1 c1t0d0s1
d11: Concat/Stripe is setup
bash-2.05b# metainit -f d20 1 1 c1t1d0s0
d20: Concat/Stripe is setup
bash-2.05b# metainit -f d21 1 1 c1t1d0s1
d21: Concat/Stripe is setup
bash-2.05b# metainit -f d24 1 1 c1t1d0s4
d24: Concat/Stripe is setup
bash-2.05b# metainit d0 -m d10
d0: Mirror is setup
bash-2.05b# metainit d1 -m d11
d1: Mirror is setup
bash-2.05b# metainit d4 -m d14
d4: Mirror is setup
bash-2.05b# metaroot d0
reboot
I end up with following metadevices configured
bash-2.05b# metastat -p
d0 -m d10 1
d10 1 1 c1t0d0s0
d1 -m d11 1
d11 1 1 c1t0d0s1
d4 -m d14 1
d14 1 1 c1t0d0s4
d20 1 1 c1t1d0s0
d21 1 1 c1t1d0s1
d24 1 1 c1t1d0s4
the /etc/vfstab after this last reboot was
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t0d0s1 - - swap - no -
/dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no logging
no logging
/dev/dsk/c1t0d0s4 /dev/rdsk/c1t0d0s4 /export/home ufs 2 yes logging
swap - /tmp tmpfs - yes -
Note that / file system is mounted on d0 metadevice and /export/home is still on disk device ???
Now if I edit and change c1t0d0s4 entry with d4 and reboot the node, the /export/home file system **does not get mounted**
If I try to mount /dev/md/dsk/d4 metadevice manually by running munt /export/home nothing happened, /export/home FS does not get mounted.
I tried to find the error messages but they are not in messges file? where else should I look?
TIA

Similar Messages

  • Edited /etc/vfstab for mirroring, rebooted and system won't boot!

    Hello,
    I was trying to setup a RAID-1 (mirroring) on a sunfire V210. I did create the replicas in /dev/dsk/c0t0d0s3 (which I labeled /mirror, can replicas be in filesysems?), initialized the mirrors, edited the /etc/vfstab and rebooted! Now, the system can't find /usr.
    My /etc/vfstab before editing for RAID-1
    #device device mount FS fsck mount mount
    #to mount to fsck point type pass at boot options
    fd - /dev/fd fd - no -
    /proc - /proc proc - no -
    /dev/dsk/c0t0d0s1 - - swap - no -
    /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no -
    /dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s4 /usr ufs 1 no -
    /dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5 /var ufs 1 no -
    /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /export/home ufs 2 yes -
    /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s3 /mirror ufs 2 yes -
    /dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6 /opt ufs 2 yes -
    swap - /tmp tmpfs - yes -
    My edited /etc/vfstab for RAID-1
    #device device mount FS fsck mount mount
    #to mount to fsck point type pass at boot options
    fd - /dev/fd fd - no -
    /proc - /proc proc - no -
    /dev/md/dsk/d1 - - swap - no -
    /dev/md/dsk/d0     /dev/md/rdsk/d0 / ufs 1 no -
    /dev/md/dsk/d4     /dev/md/rdsk/d4 /usr ufs 1 no -
    /dev/md/dsk/d5     /dev/md/rdsk/d5 /var ufs 1 no -
    /dev/md/dsk/d7     /dev/md/rdsk/d7 /export/home ufs 2 yes -
    /dev/md/dsk/d6     /dev/md/rdsk/d6 /opt ufs 2 yes -
    swap - /tmp tmpfs - yes -
    Here the log of my booting screen follows:
    Rebooting with command: boot
    Boot device: disk File and args:
    SunOS Release 5.9 Version Generic_112233-07 64-bit
    Copyright 1983-2003 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    WARNING: forceload of misc/md_trans failed
    WARNING: forceload of misc/md_raid failed
    WARNING: forceload of misc/md_hotspares failed
    WARNING: forceload of misc/md_sp failed
    Hardware watchdog enabled
    configuring IPv4 interfaces: bge0.
    Hostname: test.testserv.org
    mount: /dev/md/dsk/d4 no such device
    /sbin/rcS: /usr/sbin/devfsadm: not found
    /sbin/rcS: /usr/bin/loadkeys: not found
    /etc/rcS.d/S35svm.init: rm: not found
    /etc/rcS.d/S35svm.init: grep: not found
    WARNING: /proc could not be mounted
    /sbin/swapadd: expr: not found
    /sbin/swapadd: swap: not found
    <snip>
    syncing file systems... done
    Program terminated
    {0} ok
    I understand that there must have something in /etc/vfstab is missing. Where have I gone wrong? How can I edit back that /etc/vfstab file?
    TIA
    Raqueeb Hassan
    Bangladesh

    boot off cdrom or a netboot server and mount the / partition as /mnt.
    Then edit /mnt/etc/vfstab.
    Restore it to the state it was in before you tried to mirror.
    It seems most likely you screwed up the creation of meta devices.
    Once you get the system rebooted, post the output of
    metastat -p
    You want to initially convert all your volumes to unmirrored metadevices.
    Then edit your vfstab to use them.
    Then reboot. Then you can add the mirrors.
    You probably want to convert / first and use the metaroot command to edit the vfstab for you.
    Then reboot using the "reboot" command, not a shutdown command.

  • No /etc/vfstab file

    My Blade 1500 has developed a serious error. It is running Solaris 9 with mirrored disks.
    When I try to boot up I get the following messages:
    /sbin/rcS: /etc/vfstab: cannot open
    INIT: Cannot create /var/adm/utmpx
    INIT: Failed write of utmpx entry:" "
    INIT: Failed write of utmpx entry:" "
    INIT: SINGLE USER MODE
    Previously when I got this mesage I followed the steps outlined in the Solstice DiskSuite 4,2 User Guide to recover from improper /etc/vfstab entries
    I was able to mount the correct partition using:
    #mount -o rw, remount /dev/md/dsk/d0 /
    #metaroot d0
    This seemed to fix it, however the problem returned at a later reboot, I repeated the procedure and from this point I also checked all submirrors using FSCK and performed a format->analyze->read on both disks ( as detailed in Big Admin: Responding to disk errors on both root mirrors). Both came up clear.
    Finally I checked using metastat, which said I need to resync all mirrors. Again this worked okay.
    The problem is now that when I boot I get the same message. I can't use mount.
    #mount -o rw,remount /dev/md/dsk/d0
    gives
    mount: cannot open /etc/vfstab
    and
    #metastat
    gives
    metastat: /dev/md/admin: No such device or address
    on top of all of this in etc I have no vfstab or system file.
    I can also not access the cdrom, I get the "can't read disk label, can't open disk laberl package, evaluating can't open boot device" message.
    ok probe-ide
    Device 0 (Primary Master )
    ATA Model: ST380011A
    Device 1 (Primary Slave)
    ATA Model: ST380011A
    Device 2 (Secondary Master )
    Removable ATAPI Model: JLMS XJ-HD166S
    Device 3 (Secondary Master )
    Not Present
    ok devalias
    cdrom /pci&#64;1e,600000/ide&#64;d/cdrom&#64;2,0:f
    disk /pci&#64;1e,600000/ide&#64;d/disk&#64;0,0
    disk1 /pci&#64;1e,600000/ide&#64;d/disk&#64;1,0
    I have also tried
    cdrom2 /pci&#64;1e,600000/ide&#64;d/cdrom&#64;2,0:f
    with no success
    Any ideas?

    Hello Robert,
    When I tried to su to root, it was from a non root account I was talking about not from root.
    Yes you were absolutely correct, I was able to login to root on the main system console and back the group name to sys on both files i.e. /usr/bin/su and /sbin/su.static using the chgrp command.
    After making the change I was able to su to root from a non root user account.
    Also I did not need to take the system down and split the mirror.
    Thank you
    Dan

  • More than one entry in /etc/defaultrouter

    To my surprise, it's possible to put more than one entry in /etc/defaultrouter. It's even documented in the man page and if you do it you end up with what looks like more than one default route. But what's does it mean to have more than one default route? Does the kernel apply some kind of heuristic to decide which one to use? Does the default route with no device get ignored?
    $ cat /etc/defaultrouter
    10.8.60.1
    10.8.127.1
    $ netstat -nrv
    IRE Table: IPv4
    Destination Mask Gateway Device Mxfrg Rtt Ref Flg Out In/Fwd
    default 0.0.0.0 10.8.60.1 1500* 0 1 UG 761582 0
    default 0.0.0.0 10.144.128.1 e1000g3 1500* 0 1 UG 3546367 0
    10.8.60.0 255.255.252.0 10.8.61.22 e1000g0 1500* 0 1 U 2703697 0
    10.144.128.0 255.255.252.0 10.144.131.243 e1000g3 1500* 0 1 U 119119 0
    224.0.0.0 240.0.0.0 10.8.61.22 e1000g0 1500* 0 1 U 0 0
    127.0.0.1 255.255.255.255 127.0.0.1 lo0 8232* 0 52 UH 22475898 0
    $

    john_lilburne wrote:
    To my surprise, it's possible to put more than one entry in /etc/defaultrouter. It's even documented in the man page and if you do it you end up with what looks like more than one default route. But what's does it mean to have more than one default route?Probably not what you want.
    Does the kernel apply some kind of heuristic to decide which one to use? Does the default route with no device get ignored?Round robin.
    What do you mean by "no device"? You have to have an IP destination or the route couldn't be configured. But that IP destination doesn't have to be currently available. Unplugging a cable doesn't take an IP interface "DOWN", nor does it modify the routing table.
    If you need dynamic, failure-resilient routing, then you'd have to run a routing update protocol. The contents of /etc/defaultrouter are for static routes.
    Darren

  • Entry in /etc/hosts.allow for insecure VNC?

    I read the ssh wiki article which teaches to add an entry to /etc/hosts.allow for sshd.  I am know that tunneling vnc through sshd is the way to go security wise, however, there are cases where I need to switch on un-encrypted vnc for the purposes of sharing my X11 session with family members.  Anyway, my question deals with an entry in the /etc/hosts.allow for gnome's desktop sharing (which is vnc as I understand it).  Does anyone know the syntax to allow vnc for any incoming connection (default port of 5900).
    I have tried:
    vino: ALL
    Xvnc: ALL
    X11vnc: ALL
    None of which worked.
    Thanks!

    when I don't know what's the name of the process listening to specific port, I always execute
    netstat -tnlp
    to get the proper processes' names.

  • S8-x86 install err:can't open /a/etc/vfstab;

    Hi,guys,
    I am new to solaris8-x86.Until now I have spent 6 days to install s8-x86 on my pc but without success once.
    Below is my pc hardware:
    Motherboard-qdi;chipset-Via apollo pro;cpu:p-II 400;video chip:S3 trio 64v2 dx/gx 8472;10G seagate HD;Samsung cd-rom 40X.
    In order to keep compatabality,I removed all other card--AGP video,D-link lan card.
    Following is my problem: I do the installation on a clean HD.The installation can be started correctly and I select auto reboot.But just after message "installation completed" two error messages show as: err:can't open /a/etc/vfstab
    err:can't create /etc/vfstab
    Then the machine make no progress(no auto reboot),but there appears a prompt #.When type in 'reboot',the system can boot from HD,but into DCA screen.
    I had tried for N times but the just same error appeared N times.How to deal with this?????? I need you helpppp! Thanks to all of you in advance.
    mccoreal
    2002-5-4

    I am inixx,and I put the original post 10 days ago,but maybe the problem is not so expert-like ? Now I am glad to tell everyone that I have solved the problem! so I want to share the answer with someone who maybe will be bothered with such questions.Until now,and maybe forever-I guess,this is the only reply! SELF ASK SELF ANSWER.
    I eventually solved the problem by changing my 128M memory. Just so simple! The old PC-133 SDRAM has some error during data transferring,there same "no" error occor when running WIN9x,but solaris can't endure such errors,----sensitively SOLARIS.
    Notice, I believe that this is ONLY ONE OF SO MANY circumstances that leading to a "can't open /etc/vfstab" error,It is only a clue for you. anyway good luck!
    inixx
    2002-5-13

  • Entries in /etc/hosts are being ingored.

    I added 
    209.132.176.175 bugzilla.gnome.org
    to /etc/hosts and restarted Xserver, network service and my pppoe connection.
    And the entry in /etc/hosts is is being ignored. Any idea how to debug this weird behavior?

    Ah, now I see what your problem is :-)
    What if you ping bugzilla.gnome.org? Does that reach 209.132.176.175?
    -edit-
    It seems that Firefox simply doesn't use /etc/hosts at all. Solution (if don't want to wait for your DNS servers to get updated): install dnsmasq, cp /etc/resolv.conf /etc/resolv.conf.2, change nameserver in resolv.conf to 127.0.0.1, change resolv-file to resolv.conf.2 and add bugzilla.gnome.org to address field in dnsmasq.conf and start /etc/rc.d/dnsmasq. You'd have to make sure ppooe doesn't overwrite resolv.conf (it'd have to write to resolv.conf.2). Additional benefit: local caching of DNS queries (=> faster browsing).
    Last edited by lucke (2007-10-21 23:23:42)

  • Question about 'hosts: cluster' entry in /etc/nsswitch.conf

    Hi~
    my system have "hosts: cluster files dns" entry in /etc/nsswitch.conf.
    I know 'files' to see the '/etc/hosts'.
    I want to know that 'cluster' to see 'what file'.
    Thanks,

    'cluster' denotes internal lookups, i.e. no file on the file system. If I recall correctly, it allows the system to look up the cluster interconnect private addresses.
    Tim
    ---

  • How to edit /etc/vfstab

    I created a file system earth in /earthpool (zpool). I mounted the file system on a directory /earth. But, when I reboot my machine it doesn't load the file systems and the zpool and zfs shows no pools available and no datasets respectively. I am using Solaris 10 running on X4500. Could you please give me the syntax of how to change the /etc/vfstab file.
    device to mount device to fsck mount point FS type fsck pass mount at boot mount options
    earthpool/earth /earth zfs yes
    Is the above syntax correct ? Do I have to separate it using a hyphen or a space is enough ?
    Thank you

    I assume you created the filesystem like:
    # zfs create earthpool/earth And you want to mount it as /earth ??
    Then you would use:
    # zfs set mountpoint=/earth earthpool/earth

  • Asking for a password when trying to add an entry to /etc/hosts

    I am trying to add an entry to /etc/hosts using Terminal. When I type the command: sudo nano /etc/hosts it asks me for a password. I have never set a password so I have no idea what this would be. My admin pw is blank (I just hit enter) and this is not working. Is there a defaut password or how can I reset this? Thanks

    This would be your admin account password. You must set one.
    Forgot Your Account Password
    For Lion, Mountain Lion, or Mavericks
        Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         When the menubar appears select Terminal from the Utilities menu.
         Enter resetpassword at the prompt and press RETURN. Follow
         instructions in the dialog window that will appear.
         Or see Reset a Mac OS X 10.7 Lion Password, OS X Mountain Lion- Reset a login password,
         and OS X Lion- Apple ID can be used to reset your user account password.
    For Snow Leopard and earlier with installer DVD
         Mac OS X 10.6- If you forget your administrator password
    For Snow Leopard and earlier without installer DVD
        How to reset your Mac OS X password without an installer disc | MacYourself

  • Can't add new GRUB entries thru /etc/grub.d/40_custom on MacBook Pro

    I am using Arch Linux on my MacBook Pro. The main bootloader is rEFInd, which then loads GRUB (in EFI mode) which in turns loads Linux. Of course rEFInd can also load OS X directly, but I am experimenting because I need OS X to be loaded by GRUB: some buggy hardware requires "outb" commands before booting the OS, and loading OS X through GRUB seems like the most natural way of doing it.
    I am using the automatic script in /boot/grub.d/ to generate the bootloader configuration, so I use the following commands:
    grub-mkconfig > /boot/grub/grub.cfg
    grub-mkstandalone -o boot.efi -d /usr/lib/grub/x86_64-efi -O x86_64-efi --compress=xz /boot/grub/grub.cfg
    They generate a new configuration and to create a new EFI image, which is then copied on a blessed boot partition. I am sure that the changes I make to the configuration file are put into effect, because I can (for instance) modify the kernel parameters for the default image and see the modified entry on the GRUB menu.
    Now I am trying to add a new configuration entry, the usual way would be by modifying /etc/grub.d/40_custom. I add the following lines:
    menuentry 'OS X (on /dev/sda2)' {
    insmod hfsplus
    insmod part_gpt
    set root='hd0,gpt2'
    chainloader /System/Library/CoreServices/boot.efi
    which are added correctly to /boot/grub/grub.cfg after I run grub-mkconfig as shown above. I also generate boot.efi as shown above, too, and I copy it on the boot partition.
    However when I reboot I cannot see the new entry in the GRUB menu. Is there something I am overlooking? Is there some way of troubleshooting GRUB when it's reading the configuration file? I think it may not like the syntax of the new entry I added.
    Last edited by zakk (2014-12-04 20:35:17)

    You should point grub-mkconfig to "your_efi_system_partition"/grub/grub.cfg instead of boot/grub/grub.cfg

  • ArchLinux mounts filesystem with no entries in /etc/fstab

    I have successfully installed ArchLinux and now its working perfectly fine.
    Although, while I check `/etc/fstab` entries I do not see any mounts, even the root partition is omitted. However when I execute `mount`, it shows the mount-points of each on my system.
    My question is how my file-system gets mounted. Would it have something to do with systemd?

    keshara.dorakumbura wrote:
    @Trilby: you are dead right. With your help it solved.!
    what i learn during this is that system mounts /root & /boot using the bootloader in the first place. After that they are remounted by systemd if only they exist in /etc/fstab. Due to some reason, my /etc/fstab did not generate as it should withing the installation. But the reason it works was that bootloader mounts required mount-points when the system boots.
    Am i right Trilby?
    No, this is not entirely correct.
    The bootloader mounts /boot only to exec the kernel which then finds initrd. After that, /boot is _not_ mounted (and you don't have it mounted either). In fact, for your system to work, /boot partition does not even need to exist. For example, on my machine:
    $ ls -hl /boot
    total 0
    $ mountpoint /boot
    /boot is not a mountpoint
    $ mount | grep boot
    $
    If you want /boot to be mounted at all times, you must specify it in fstab.
    The / partition is mounted from the initramfs (initramfs-* files in your /boot). This is necessary to exec systemd from there. Now, systemd keeps / mounted, so you don't need an entry for it in fstab (unless you want specific mount options).
    Other filesystemd that you are seeing are pseudo-filesystems, mounted automatically by systemd. The reason why your fstab was empty is probably because you ran genfstab > /etc/fstab, not your target installation.

  • Systemd entries in /etc/passwd and others...

    Hi! How do I find out what are correct entries for systemd in /etc/passwd, /etc/group, /etc/shadow and others in current system? What if I screw them up during system update and maybe lose some of them or will end up having those unneeded?...

    I don't understand what you want. A backup maybe? Do you have any pacnew files?

  • Question about an entry in /etc/sudoers

    I have the following entry in my /etc/sudoers:
    user ALL=(ALL) ALL
    Now I am not sure what that actually does. Could you explain it to me?

    I'm guessing "user" is your username.  That allows you to use sudo with any command.  It is possible to set finer restrictions for some users.

  • Alsa entries in /etc/modprobe.conf

    could someone who has all the alsa options compiled as modules post that part of their /etc/modprobe.conf? i'm only getting 3 lines and i believe there are supposed to be more, causing me to have to run alsaconf every time after booting. for some reason the other modules aren't getting written to the file. appreciate!
    # --- BEGIN: Generated by ALSACONF, do not edit. ---
    # --- ALSACONF verion 1.0.5 ---
    options snd device_mode=0666
    alias snd-card-0 snd-cs46xx
    alias sound-slot-0 snd-cs46xx
    # --- END: Generated by ALSACONF, do not edit. ---

    http://bbs.archlinux.org/viewtopic.php? … a&start=15
    look at hapy's post that is an example of everything you can load (note cmipci is HIS soundcard the rest is generic modules)
    i found this with a search

Maybe you are looking for

  • Open With menu choices

    Before upgrading to CS6 and a new Mac Pro, I had an option to right-click OPEN WITH QuickTime files with Media Encoder. Now it seems as though it isn't registered as a valid application for this type of file, even though .MOV files can be opened.  I

  • Language Key Default for Account Assignment Search

    Hi, We are on SRM 4.0, Extended Classic.  We are rolling out our implnetation from Uk to Italy, therefore have installed Italian Language Pack etc. UoM/ Currency etc has been automatically translated .  Our English description for Product Categories

  • Performance Settings - Slow only?

    You know there is an option called performance settings under Frequency/Voltage control. And you can choose to use Slow Fast Turbo Ultra-Turbo But if i choose fast, I cant even boot What do I need to use those faster options??

  • Is There A Command To Find & Extract ".zip" Files

    Is There A Terminal Command I Can Use To Find and "Extract"...All zip Files From one External HD and To Unzip Them To Another External Drive I Would Like For Terminal To Find all the zip files on my old external Hard Drive inside of my karaoke folder

  • [ANNC] SiteGrinder 2.0 Released.

    I wanted to let everyone know that SiteGrinder 2.0 has been released. http://www.medialab.com/sitegrinder SiteGrinder is a plug-in for Photoshop that converts layered Photoshop designs to working web sites. It can be used as a standalone tool, but it