Mounting /tmp as a filesystem on Solaris 10?

Hi,
Does anyone know if it's possible to mount /tmp as a filesystem in Solaris 10? My server is running Veritas Volume Manager 5.0 and the boot drive is encapsulated. After I change vfstab to mount /tmp as a standard filesystem, the server goes into single user mode whenever I reboot. It complains that it is unable to find the volume device for the /tmp filesystem. I also notice that the diskgroup where the /tmp volume resides is not imported so it seems like Veritas is not initialized at this point.
On a side note, I have been able to mount /tmp as a filesystem in the past in Solaris 9.
Any help would be appreciated.
Thanks.

dxchea wrote:
Hi,
Does anyone know if it's possible to mount /tmp as a filesystem in Solaris 10? That's the default. I'm guessing you mean to mount it as a UFS filesystem instead?
My server is running Veritas Volume Manager 5.0 and the boot drive is encapsulated. After I change vfstab to mount /tmp as a standard filesystem, the server goes into single user mode whenever I reboot. It complains that it is unable to find the volume device for the /tmp filesystem. I also notice that the diskgroup where the /tmp volume resides is not imported so it seems like Veritas is not initialized at this point.How did you create the filesystem you want to use for /tmp? What does your vfstab entry look like? Almost certainly the error is there.
On a side note, I have been able to mount /tmp as a filesystem in the past in Solaris 9./tmp is a filesystem by default on all versions of Solaris. I think you're trying to say something else here.
Darren

Similar Messages

  • Mount options for ZFS filesystem on Solaris 10

    Do you know some recomendation
    about mount options for SAP on Oracle
    with data on ZFS filesystem?
    Also recomended block size required.
    We assume that file system with datafiles has 8kb block size
    and offline redologs has default (128kB).
    But what about ONLINE REDOLOGS?
    Best regards
    Andy

    SUN Czech installed new production HW for one Czech customer with ZFS filesystem on data-, redo- and archivelog files.
    Now we have performance problem and currently there is no SAP recomendation
    for ZFS file system.
    The HW which are by benchmark about tvice power has worst responses than
    old hardware.
    a) There is bug in Solaris 10 - ZFS buffers once allocated are not released
        (generally we do not want to use buffering due to prevence of double
         buffering)
    b) ZFS buffers takes about 20GB (32GB total) of memory on DB server
    and we are not able to define huge shared pool and db cache. (it may be possible
    to set special parameter in /etc/system to reduce maximum size of ZFS buffers to e.g. 4GB )
    c) We are looking for proven mount option for ZFS to enable asynchronious/concurent io for database filesystems
    d) There is no proven clear answer for support of ZFS/SOLARIS/Oracle/SAP.
    SAP says It is Oracle problem, Oracle does not certify filesystems from Jan2007
    any more and says ask your OS provider and SUN looks happy, but performance
    goes down and it is not so funny for system with 1TG DB with over 30GB grow
    per month.
    Andy

  • Mounting 2 GB usb drive in solaris 10

    Hi Folks,
    I have 2 GB usb device.
    When i format the device in windows and mount the same in solaris, i get the below output
    #mount -F pcfs /tmp/SUNWut/units/IEEE802.080020f8112c/dev/dsk/disk3s2:c /home/es161022/Documents/usb
    mount: /tmp/SUNWut/units/IEEE802.080020f8112c/dev/dsk/disk3s2:c is not a DOS filesystem.
    The file system present in DOSBIG (view fdisk output below)If i format with option C or D (from fdisk output), I can mount the device, read and write files... but after this, i cant access the device in windows.. i will have to format it again in windows.
    # fdisk /tmp/SUNWut/units/IEEE802.080020f8112c/dev/rdsk/disk3s2
    Total disk size is 247 cylinders
    Cylinder size is 16065 (512 byte) blocks
    Cylinders
    Partition Status Type Start End Length %
    ========= ====== ============ ===== === ====== ===
    1 Active DOS-BIG 0 61 62 25
    SELECT ONE OF THE FOLLOWING:
    1. Create a partition
    2. Specify the active partition
    3. Delete a partition
    4. Change between Solaris and Solaris2 Partition IDs
    5. Exit (update disk configuration and exit)
    6. Cancel (exit without updating disk configuration)
    Select the partition type to create:
    1=SOLARIS2 2=UNIX 3=PCIXOS 4=Other
    5=DOS12 6=DOS16 7=DOSEXT 8=DOSBIG
    9=DOS16LBA A=x86 Boot B=Diagnostic C=FAT32
    D=FAT32LBA E=DOSEXTLBA F=EFI 0=Exit?
    It wud b fine, if any1 of u provide solution to access the same in windows / solaris....
    Is der any other way to mount DOSBIG filesystem in solaris...
    Thanks,
    Enz.
    +919880099311

    It should be the same. For instance with a usb keychain (formated pcfs):
    mkdir /usbdrive
    mount -F pcfs /dev/dsk/c3t0d0p1 /usbdrive
    On this particular laptop the second usb port was. c4t0d0p1 so:
    mount -F pcfs /dev/dsk/c4t0d0p1 /usbdrive
    The numbering might be different for each usb port and you have to specify the filesystem of the usb drive, but it should work.

  • Filesystem under Solaris 8

    I get this every time I put a filesystem on my Sun
    lakshmi root /: newfs -f 4096 /dev/rdsk/c3t1d0s6
    Cylinder groups must have a multiple of 16 cylinders with the given
    parameters
    Rounded cgsize up to 256
    Warning: insufficient space in super block for
    rotational layout tables with nsect 127, ntrack 127, and nrpos 8.
    Omitting tables - file system performance may be impaired.
    /dev/rdsk/c3t1d0s6: 997159296 sectors in 61824 cylinders of 127
    tracks, 127 sectors
    486894.2MB in 3864 cyl groups (16 c/g, 126.01MB/g, 15808 i/g)
    super-block backups (for fsck -F ufs -o b=#) at:Any help would be great

    How large can be a filesystem under Solaris 8???It depends on the file system. UFS is limited to 1TByte.
    SAM-QFS is virtually unlimited. Other file systems may
    be limited by the size of the media (CD-ROM/HSFS etc.)
    -- richard

  • Mounting a lacie firewire drive on solaris 10

    Ouch! I looked everywhere for some good instructions on sun but nada. As this is a Solaris ready (TM) drive I thought I would have better luck. After several kernal panics I finally go it going using these iffy methods. Is there a better way and did I seriously injure anything?
    To stop the panics I did
    /etc/init.d/volmgt stop
    Turned on the drive and plugged the firewire into the sb1000
    Followed instructsions from here (using my drive labels)
    http://weblog.erenkrantz.com/weblog/2005/04/29 which is listed in this thread http://forum.sun.com/thread.jspa?forumID=271&threadID=25304
    fmthard -i -n "" /dev/rdsk/c2t0d0s2 > /tmp/label.dat
    fmthard -s /tmp/label.dat -n "disk" /dev/rdsk/c2t0d0s2
    newfs /dev/rdsk/c2t0d0s0
    Any comments?
    Let me state again that I am surprised there appears to be no information about how to do this correctly (especially considering the kernel panics) in the sol adm manual or the website. Just hacks like the one I used.

    It should be the same. For instance with a usb keychain (formated pcfs):
    mkdir /usbdrive
    mount -F pcfs /dev/dsk/c3t0d0p1 /usbdrive
    On this particular laptop the second usb port was. c4t0d0p1 so:
    mount -F pcfs /dev/dsk/c4t0d0p1 /usbdrive
    The numbering might be different for each usb port and you have to specify the filesystem of the usb drive, but it should work.

  • USB flash storage mounted as read-only filesystem

    Hello all,
    I'm new to Arch Linux and trying to migrate all my works to arch. Installed KDE, GNOME3, and hardware drivers successfully But I have problems with USB flash disks. When plugging a usb device, system mounts it as a readonly filesystem. so I can't change its contents. It always happens to my flash disk, but flash disk of my friend is ok!
    I tried to mount manually with super user access, but no hope. It says:
    [root@myhost soroush]# mount /dev/sdb1 /mnt/
    mount: warning: /mnt/ seems to be mounted read-only.

    roygbiv wrote:Maybe you can post your /etc/fstab?
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    /dev/sda2 / ext4 defaults 0 1
    /dev/sda3 /home ext4 defaults 0 1
    /dev/sda4 swap swap defaults 0 0

  • [SOLVED] Mounting /tmp as tmpfs does not work?

    Hi,
    running arch since a few days now, and began a bit of tweaking.
    I read, mounting the /tmp dir as a tmpfs adding the following line to my /etc/fstab should slightly increase performance. (plus removing the old /tmp mount rule)
    none /tmp tmpfs nodev,nosuid,noatime,size=1000M,mode=1777 0 0
    I have conky running showing my ram usage. Shouldn't the numbers increase if I copy something to the /tmp directory? I copied a large file to the dir. but nothing happened to the ram usage.
    Thank you in advance, Peter
    Last edited by phoenigs (2010-09-05 19:08:20)

    Hi again,
    Here the outputs of the two commands:
    [peter@phlap|~]$ mount
    proc on /proc type proc (rw,relatime)
    sys on /sys type sysfs (rw,relatime)
    udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=493581,mode=755)
    /dev/disk/by-uuid/4afd9796-b899-47a8-a4e0-04d70209a635 on / type ext4 (rw,relatime,barrier=1,data=ordered)
    devpts on /dev/pts type devpts (rw)
    shm on /dev/shm type tmpfs (rw,nosuid,nodev)
    /dev/sda4 on /home type ext4 (rw)
    /dev/sda1 on /boot type ext2 (rw)
    none on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=1000M,mode=1777)
    [peter@phlap|~]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 10M 208K 9.8M 3% /dev
    /dev/disk/by-uuid/4afd9796-b899-47a8-a4e0-04d70209a635
    39G 3.4G 34G 10% /
    shm 1.9G 2.1M 1.9G 1% /dev/shm
    /dev/sda4 104G 1.1G 98G 2% /home
    /dev/sda1 99M 16M 79M 17% /boot
    none 1000M 661M 340M 67% /tmp
    (I know the / partition is chosen a bit too large)
    But here is another output:
    [peter@phlap|tmp]$ free -m
    total used free shared buffers cached
    Mem: 3858 1965 1892 0 28 1605
    -/+ buffers/cache: 330 3527
    Swap: 4502 0 4502
    As you can see, the mounting works properly. I have copied a 600mb file to /tmp, and it still says 330mb free ram. Or does the tmpfs count as "cached"?
    I just want the "proof" that my /tmp directory is in the ram now
    Last edited by phoenigs (2010-09-04 22:54:13)

  • [SOLVED] Root mounted as "Read-only filesystem". mkinitcpio issue?

    I am currently in the middle of setting up system encryption with LUKS. I have been making good progress so far, but I do have one remaining issue.
    After typing my LUKS password, the Linux kernel starts to complain that root is a read-only filesystem. "Starting NetworkManager... cannot touch file XYZ: Read-only filesystem". When it has finally finished booting, I am dropped into a TTY. I can log in and cat my files, but I cannot write to any files our use any programs that do (like pacman).
    I wonder if this is an mkinitcpio issue, but I am not sure. For whatever it's worth, here's my basic setup:
    * /dev/sda1: Boot
    * /dev/sda2: Swap
    * /dev/sda3: Root (LUKS/ext4)
    * menu.lst looks like this
    * /etc/fstab contains this line:
    /dev/mapper/root / ext4 defaults 0 1
    * /etc/mkinitcpio.conf contains these lines:
    MODULES="ext4"
    HOOKS="base udev pata scsi sata encrypt filesystems"
    edit: I should note that I did reinstall the kernel after making those edits to mkinitcpio.conf.
    Any idea what I'm doing wrong? As always, I really do appreciate the help. Thanks in advance!
    Last edited by jalu (2011-04-16 22:14:20)

    So it looks like this major problem was caused by a minor mistake. The file /etc/rc.sysinit was not executable. This made it impossible for the kernel to run the script, which in turn made it impossible for the kernel to mount /dev/sda2 (the swap partition) at /dev/mapper/swap. For some unknown reason, this in turn caused /dev/sda2 to be mounted at /, messing everything up.
    Anyway, a simple sudo chmod +x /etc/rc.sysinit fixed the problem. Thanks for the help, MadTux!

  • Mount FAT32 USB flash storage in Solaris 10

    Hi guys, girls, and undecided.
    I've just upgraded my Winblows XP laptop to dual-boot Solaris 10. I've been trying in vain to get a few things working, the most annoying of which is my USB flash storage disk.
    I've tried 'pkill -HUP vold', to no avail
    'iostat -En' shows my CDRW/DVD drive, but no USB drive.
    Help would be muchly appreciated.

    Congratulations on your choice of Os ;-)
    To solve this problem you can try and create a directory called /rmdisk , then start vold running:
    /etc/init.d/volmgt stop
    /etc/init.d/volmgt start
    if you are lucky your USB flash will show up under /rmdisk/<name> after a few seconds.
    If not you should be able to see the flash with cfgadm, which list the status of USB ports (among other things).
    Solaris should automatically create a /dev/dsk/ and /dev/rdsk/ entries for your flash memory, if its not automatically mounted by vold, try and stop vold using
    /etc/init.d/volmgt stop
    Then do a cd /dev/dsk and run an ls -lart, the USB devices should be among the last devices in that list, then mount it using:
    mount -F pcfs /dev/dsk/<device> /some/directory
    the device should end with s2 or p2, some flash devices might also need :c, aka /dev/dsk/<device>:c, it depends how its configured.
    See man mount_pcfs for more information...
    Hope this helps a bit (:
    //Magnus

  • Mounting Sol 8 SPARC disk on Solaris 10 x86

    I have been having a very difficult time mounting a Solaris 8 (SPARC) SCSI disk on a Solaris 10 x86 box. The disk is recognized (it shows up under format as c2t2d0). I cannot mount it at all.
    The individual slices will mount under another Sol 8 machine. I can also boot the x86 machine with System Rescue CD, and it will mount the individual SunOS slices as UFS with the -o ro option.
    I have look extensively on the web for a solution, with no luck so far. I am clearly missing something very basic. I'd appreciate any pointers.
    Thanks!
    Tom

    UFS on Solaris is endian-specific. Solaris does not support mounting big-endian UFS (SPARC) on a little-endian host (x86). I don't know that anyone was trying to work on a converter.
    The other problem you'll run into is that x86 drivers expect an MBR label on the disk with a VTOC inside a Solaris partition, while SPARC disks usually have only the VTOC label.
    See also this thread:
    [UFS-discuss Endian|http://mail.opensolaris.org/pipermail/ufs-discuss/2007-April/000857.html]
    Darren

  • Create filesystems on Solaris 10 x86

    Hi All,
    I am not expert in Solaris, I just want to add an external
    disk (via San) to a Solaris 10 x86 system.
    When I execute #format, have the following :
    0) c1t0d0 ....
    2) c4t60060160D9E01D009AAB136E0F54DE11d0
    /Scsi_uhci/disk@g60060160d9ede11
    When I choose number 2, the very disk, I have the following :
    Selecting c4t60060160D9E01D009AAB136E0F54DE11d0
    [disk formatted]
    /dev/dsk/c4t60060160D9E01D009AAB136E0F54DE11d0s2
    is part of SVM volme stripped : d7
    Please see metaclear.
    Then I execute "verify" at the format Promp and got :
    Part Tag Flag Cylinder Size
    0 Unassigned wm 0 0
    1 Unassigned wm 0 0
    2 Backup wu 0-17442 133.62Gb
    3 Unassigned wm 0 0
    4 Unassigned wm 0 0
    5 Unassigned wm 0 0
    6 Unassigned wm 0 0
    7 Unassigned wm 0 0
    8 Boot wu 0 7.84Mb
    9 Unassigned wm 0 0
    My problem is to create 2 partitions, one of 70Gb and the
    other one is the rest of the disk, then create filesystems on
    them, how to proceed ?
    Thanks
    Bandon

    Hi All,
    I am not expert in Solaris, I just want to add an external
    disk (via San) to a Solaris 10 x86 system.
    When I execute #format, have the following :
    0) c1t0d0 ....
    2) c4t60060160D9E01D009AAB136E0F54DE11d0
    /Scsi_uhci/disk@g60060160d9ede11
    When I choose number 2, the very disk, I have the following :
    Selecting c4t60060160D9E01D009AAB136E0F54DE11d0
    [disk formatted]
    /dev/dsk/c4t60060160D9E01D009AAB136E0F54DE11d0s2
    is part of SVM volme stripped : d7
    Please see metaclear.
    Then I execute "verify" at the format Promp and got :
    Part Tag Flag Cylinder Size
    0 Unassigned wm 0 0
    1 Unassigned wm 0 0
    2 Backup wu 0-17442 133.62Gb
    3 Unassigned wm 0 0
    4 Unassigned wm 0 0
    5 Unassigned wm 0 0
    6 Unassigned wm 0 0
    7 Unassigned wm 0 0
    8 Boot wu 0 7.84Mb
    9 Unassigned wm 0 0
    My problem is to create 2 partitions, one of 70Gb and the
    other one is the rest of the disk, then create filesystems on
    them, how to proceed ?
    Thanks
    Bandon

  • What is the best way to backup ZFS filesystem on solaris 10?

    Normally on Linux environment, I'd use mondorescue to create image (full & incremental) so it can be easily restored (full or file/folders) to a new similar server environment for restore purposes in case of disaster.
    I'd like to know the best way to backup a ZFS filesystem to a SAN storage and to restore it from there with minimal downtime. Preferrably with tools already available on Solaris 10.
    Thanks.

    the plan is to backup whole OS, and configuration files
    2 servers to be backed up
    server A zpool:
    - rootpool
    - usr
    - usrtmp
    server B zpool:
    - rootpool
    - usr
    - usrtmp
    if we were to cut hardware cost, it is possible to back up to samba share?
    any suggestions?

  • [SOLVED] Mounting /tmp as a ramdisk with systemd

    Hi, how would one go about setting up /tmp to be a ramdisk when using systemd?  (I'm entirely new to systemd, but since Arch is switching to it I guess I need to learn it.)  With rc.sysinit it was simple; I just added a call to "mount" early on in the script.
    Last edited by jlindgren (2012-08-28 00:16:56)

    jlindgren wrote:There was some reason I was mounting it earlier on than it would have been from /etc/fstab with initscripts -- but I can't remember what that reason was.   Possibly it would not even matter for systemd; anyway, I'll try it.  Thanks.
    If you really need it early you should add a hook for the initrd and rebuild it. (similar to the usr-hook I think)
    Last edited by progandy (2012-08-27 23:16:31)

  • Mount point for SMB filesystem

    Hi folks
    Using the finder I've connected to a Windows box drive "D" and get a icon on the desktop. This contains GIS data. I'm using an OpenSource application GRASS and want to use that data. GRASS opens a dialogue box which wants an input of the form /<filesystempath>/<filename>. It doesnt accept drag and drop. But I cant find where the Windoze Drive "D" has been mounted!! In Linux it would have been under /mnt but that doesnt exist here,
    any ideas??
    Hugh
    PS Ive tried using spotlight to find"D"... nogo.
      Mac OS X (10.4.8)  

    Sorted!
    The remote filesystem is mounted under /Volumes.
    The other solution I've found is to create a dir
    mkdir /datapoint
    Then mount the SMB filesystem on that dir
    mount_smbfs -W <WORKGROUPNAME> //<username>@<windoze-computername>/<nameofshare> /datapoint
    you will be asked for <username>'s password
    and the the remote data can be accessed using the dir /datapoint
      Mac OS X (10.4.8)  
      Mac OS X (10.4.8)  

  • [Solved] How to mount multi-device btrfs filesystem under systemd?

    I am running full, native systemd. It always has an error during boot trying to mount my new, multi-device btrfs filesystem. There was no problem with mounting the filesystem when it resided on a single disk drive.
    When it fails, it allows me to enter my root password and have a console. In this console, I can successfully mount the btrfs filesystem. Then boot continues normally, and then I can use the filesystem with no further problems, until the next reboot.
    btrfs filesystem show /dev/sda4
    failed to read /dev/sr0
    Label: 'TimBTRFS' uuid: 317460bc-5b6a-4dac-acb8-7139dcbcff8b
    Total devices 2 FS bytes used 31.67GB
    devid 2 size 100.00GB used 2.00GB path /dev/sdb1
    devid 1 size 100.00GB used 42.02GB path /dev/sda4
    Btrfs Btrfs v0.19
    I looked up btrfs in the wiki, and it says I have to run "btrfs device scan" before I can mount the filesystem. "This is the purpose of the btrfs mkinitcpio hook or the USEBTRFS variable in /etc/rc.conf" I do not have an rc.conf.  I do not know how to do this with systemd. What do I need to do to resolve this?
    Tim
    Last edited by ratcheer (2012-09-06 12:12:24)

    I added the btrfs hook as per the previous post. I ran "mkinitcpio -p linux". I ran grub-mkconfig. I rebooted and got the exact same problem. I did see the message early in the boot output that the btrfs hook was executed.
    Here are the error messages:
    [ 203.780864] device label TimBTRFS devid 1 transid 140 /dev/sda4
    [ 203.781779] btrfs: disk space caching is enabled
    [ 203.790133] btrfs: failed to read chunk tree on sda4
    [ 203.790973] btrfs: open_ctree failed
    Again, in the root console, I simply mounted the filesystem ("mount -t btrfs /dev/sda4 /btrfs"), typed Ctrl-d, and the bootup continued normally and successfully.
    I need help, please.
    Tim

Maybe you are looking for

  • Excise invoice created using J1IS and movement type  122

    Hello Can you please suggest whether we need to run J2IUN for the following process in order to show the debit entries in extracted RG23A PART2 register. 1. Returning the material with refernce to the original Goods receipt document (101) using MIGO

  • FTP Adapter: double quotes in csv file

    Hello, I have a BPEL (10.1.3.3) process in polling with the FTP Adapter on a CSV (with a ; as separator) file with native format translation. In the following the xsd generated: <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:nxsd="htt

  • No Web Authentication - but excluded client with reason code 4

    Hello, we are using a WLC 4400 with Software Version 5.0.148.0 and WCS Version 5.0.56.2. Access Points are AIR-LAP1131AG-E-K9. We have problems with one client (Windows XP SP3). The computer loses the wireless connection all the time, but we don't kn

  • BDC Program for Uploading Data for Property Tree in cg02

    Hi,     How to upload data for property tree ( standard Properties ) of CG02. I checked for BAPI or Function Module but most them supports for specification header and sub item.  Please Let me know if any function module or BAPI available for this pr

  • Windows XP issues

    Hey guys, Not sure if you guys can help me with this, but I've had a consistent problem with my X200 for the past 2-3 months (ever since I wiped vista clean and did a fresh XP re-install).  About 25% of the time, I get to the desktop but none of the