Extend root filesystem

Hi,
i had installed oracle10gR2 on rhel5......in the installation prerequiste i have failed to give enough space for root partition.
At the installation process oracle give the error not enough tmp spaces in root.i want increase this root partition without reinstallation of rhel5.
Please anyone help me how to increase the root size in rhel5
Regards,
S.Mugunthan.

I recommend you to post your question on a Redhat Linux Forum like http://www.linuxquestions.org/questions/red-hat-31/
In my opinion however, the fasted way is - if you have some unformatted diskspace left - to create a new /tmp filesystem and mount that instead of using the root partition /tmp
Remember to erase the current contents on /tmp before mounting. Otherwise space will not be release to the root file system
HTH,
FJFranken
My Blog: http://managingoracle.blogspot.com
P.S. If this answers your question, please set the thread to answered and award the points. It is appreciated

Similar Messages

  • [SOLVED] df -h does not reflect true root filesystem size

    Why does df -h show root filesystem as being only 20G?
    df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/cryptroot 20G 15G 4.6G 76% /
    dev 7.7G 0 7.7G 0% /dev
    run 7.7G 668K 7.7G 1% /run
    tmpfs 7.7G 70M 7.7G 1% /dev/shm
    tmpfs 7.7G 0 7.7G 0% /sys/fs/cgroup
    tmpfs 7.7G 224K 7.7G 1% /tmp
    /dev/sda1 239M 40M 183M 18% /boot
    tmpfs 1.6G 8.0K 1.6G 1% /run/user/1000
    That is what my df -h output looks like. My setup is full disk encryption using dm-crypt with LUKS, per the guide on arch wiki. I basically created one /boot partition and left the rest of the disk to be an encrypted partition for the root filesystem. So why is my system complaining about (and acting as if it's running out of space)? Have I forgotten something?
    Thank you for reading this. Let me know if you need any more logs or info on my setup - I realise I haven't provided very much info here, but I can't think of what to provide.
    Last edited by domentoi (2014-12-24 19:02:32)

    This is lsblk:
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 465.8G 0 disk
    ├─sda1 8:1 0 250M 0 part /boot
    └─sda2 8:2 0 465.5G 0 part
    └─cryptroot 254:0 0 465.5G 0 crypt /
    sdb 8:16 0 14.9G 0 disk
    └─sdb1 8:17 0 14.9G 0 part
    and fdisk -l
    Disk /dev/sdb: 14.9 GiB, 16013942784 bytes, 31277232 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x5da5572f
    Device Boot Start End Sectors Size Id Type
    /dev/sdb1 2048 31275007 31272960 14.9G 73 unknown
    Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: dos
    Disk identifier: 0xa5018820
    Device Boot Start End Sectors Size Id Type
    /dev/sda1 * 2048 514047 512000 250M 83 Linux
    /dev/sda2 514048 976773167 976259120 465.5G 83 Linux
    Disk /dev/mapper/cryptroot: 465.5 GiB, 499842572288 bytes, 976255024 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk /dev/sdc: 1.4 TiB, 1500301908480 bytes, 2930277165 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x445e51a8
    And graysky: I thought I made the partition for /boot 250 MB and the encrypted partition 465.5 GB but I'm now quite sure I did something wrong...
    Thank you all

  • After upgrading to Solaris 10 "Can't load the root filesystem" on V245

    I have a Sunfire V245 that was running on Solaris 9 (very stable). I upgraded to Solaris 10 (6/06) this morning and everything seemed to go smoothly. After the upgrade the system rebooted, but will not boot. I get the following uptput;
    Rebooting with command: boot
    Boot device: disk File and args:
    SunOS Release 5.10 Version Generic_118833-17 64-bit
    Copyright 1983-2005 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    pxb_bcm: cannot load driver
    Cannot load drivers for /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1/disk@0,0:a
    Can't load the root filesystem
    Type 'go' to resume
    "go" attempts to reboot, but I end up back in the same place.
    Please help.
    Thanks in advanced,
    Craig

    It seems like the driver for that device does not exist. Since the system installed successfully it means that it S10 did find a disk. I wonder if that was a different disk than the default disk. Please boot to the miniroot and check the disk info.

  • Moving root filesystem to another hard drive

    Hi everyone,
    I've been using Arch Linux for a few months now and it is by far my favorite Linux distribution.
    I currently have Arch on an old Pentium III, with a whopping 20 GB IDE hard drive.
    I'm building a new computer, and want to use a larger 160 GB SATA hard drive, and I was wondering what is the best way that I can just transfer my entire root filesystem so I don't have to bother copying all the scripts, programs, etc.
    Can I just tarball my root directory, partition my new hard drive, and use some other LiveCD to copy the root partition? I know this shouldn't be that difficult, because everything in the root partition is in /, unlike Windows, which has association problems with the registry.
    Thanks!

    I'd never want to lead anyone down the garden path without at least trying this myself so for the last hour or so I've done just as described above on an old computer I have that I play around with and a spare small 8 gb hard drive.  I first tried copying the files over with thunar but that didn't work too well (froze up) probably due to trying to copy /sys and /proc--duh.
    I tried again using midnight commander (to install do #pacman -S mc) and it worked perfectly.  The /dev directory copied over just fine but don't try copying /proc and /sys.  Just make empty directories so the system can put what it needs there.  Also just make an empty /mnt directory and put your devices in later--otherwise I'm not sure what would happen if you were copying your /mnt/newroot to itself, but I'm sure it wouldn't be good.
    I tried to just install grub on the slave with #grub-install /dev/sdb and it said it installed fine but when I switched the slave to master and disconnected the old master, grub wouldn't boot (probably because it was installed to /dev/sdb?) so I had to use the arch install disk to install grub.  Then, much to my surprise--like I had any doubts--I rebooted and now I'm posting this with the newly copied Arch with xfce4.
    It might not be a bad idea to backup any really important stuff but you are just copying and unless you do something silly, everything should work fine.
    Last edited by bgc1954 (2008-03-11 23:13:58)

  • Increase root filesystem size with VxVM

    Hi All,
    Can i increase the root fileystem size in solaris 10 after encapsulating the root disk into VxVM.
    Thanks
    ---MGP---

    I wouldn't try it.
    If you have a mirror, I'd drop the mirror, copy everything over to the mirror disk (in normal, contiguous slices), then redo the VxVM encapsulation.
    Root filesystem cannot be discontiguous, no concats, stripes, raid5s, only mirror. So growing is difficult unless the space is already past the end.
    Easier to copy to another disk, reset the bits (/etc/system, /etc/vfstab), then boot from it.
    Darren

  • Kinit mounts root filesystem as read only [HELP][solved]

    hello
    I've being messing around with my mkinitcpio trying to optimize my boot speed, i removed some of the hooks at the beginning i couldn't boot, but then now i can boot but the root filesystem mounts as read only, i tried everything my fstab looks fine, / exists with defaults i tried to mount it referencing by it's uuid or by it's name and i get the same results, it mounts the filesystem as root only all the time no mather what i do.
    There is not logs since i started playing with mkinitcpio, or anything i searched everywhere in this forum and around the internet, and i can't find any solution that would work, i restored all the hooks and modules on mkinitcpio and the result it's still the same. i also changed the menu.lst in grub to vga=773 but that's about it.
    Can anyone help with this please i can't seem to boot properly.
    Regards
    Last edited by ricardoduarte (2008-09-14 16:16:25)

    Hello
    Basically what happens it's that it loads all the uDev events then the loopback, it mounts the root read only, then when it checks filesystems it says
    /dev/sda4: clean, 205184/481440 files, 1139604/1920356 blocks [fail]
    ************FILESYSTEM CHECK FAILED****************
    * Please repair manually and reboot. Note that the root *
    * file system is currently mounted read-only. To remount *
    * it read-write: mount -n -o remount,rw / *
    * When you exit the maintenance shell the will *
    * reboot automatically. *
    Now what bugs me its that i can do that mount -n -o remount,rw / with no problems and when i do
    e2fsck -f /dev/sda4
    it doesn't return any errors just says that 0.9 non continuous.
    none of this makes sense to me!! thats why i though that the problem could be coming from mkinitcpio or something
    any ideas
    Thanks for your help, btw thanks for the quick reply
    Regards
    Last edited by ricardoduarte (2008-09-14 15:48:49)

  • CentOS based linux VM running on Hyper-v : Checking root filesystem fails when kernel switches having old PV(para virtualised driver based on 2.6.32 linux kernel) to new PV(which is equivalent to linux integration component 3.4)

    hi all,
    I am running a CentOS base VM on top of Hyper-V server. I upgraded PV drivers of Hyper-V in linux kernel 2.6.32 in order to support
    Windows Server 2012, then i am hitting below issue on Windows Server 2008 when kernel switches from old PV(which is 2.6.32 based) to new PV(which is equivalent to linux integration component 3.4).i
    am hitting following filesystem check error messages :
    Setting hostname hostname:
    Checking root filesystem
    fsck.ext3/dev/hda2:
    The superblock could not be read or does not describe correct ext2 filesystem. If the device is valid and it really contains an ext2
    filesystem(and not swap or ufs or something else),then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
    : No such file or directory while trying to open /dev/hda2
    *** An error occurred during the filesystem check.
    *** Dropping you to a shell; the system will reboot
    *** When you leave the shell.
    Also, when I go to the repair filesystem mode. I found out the strange behaviour when i ran those command :
    (Repair filesytem) 1 # mount
    /dev/hda2 on / type ext3 (rw)
    proc on /proc type proc (rw)
    (Repair filesystem) 1# cat /etc/mtab
    /dev/hda2 /ext3 rw 0 0
    proc /proc proc rw 0 0
    (Repair filesystem) 1# df
    Filesystem 1K-blocks used Available Use% Mountedon
    /dev/hda2 4%
    I think for all above command there should be /dev/sda2 instead of /dev/hda2.
    Also my fstab , and fdisk -l looks like ok for me.
    (Repair filesystem) 1# cat /etc/fstab
    LABEL=/ / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    devpts /dev/pts devpts gid=5,mode=620 0 0
    tmpfs /dev/shm tmpfs defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs defaults 0 0
    LABEL=swap-xvda3 swap swap defults 0 0
    (Repair filesystem) 1# fdisk -l
    Device Boot Start End Block Id System
    /dev/sda1 * 1 49 98535 83 Linux
    Partition 1 does not end with cylinder boundary.
    /dev/sda2 49 19197 39062500 83 Linux
    Partition 2 does not end with cylinder boundary.
    /dev/sda3 ......
    Partition 3 does not ......
    /dev/sda4 ......
    Partition 4 does not end ....
    (Repair filesystem) 1# e2label /dev/sda1
    /boot
    (Repair filesystem) 1# e2label /dev/sda2
    (Repair fielsystem) 1# ls /dev/sd*
    /dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4
    (Repair filesyatem) 1# ls /dev/hd*
    ls: /dev/hd*: No such file or directory
    Kindly suggest any configuration of windows server or kernel configs missing or how to resolve this issues
    Many many thanks for your reply.
    thanks & Regards,
    Ujjwal

    i am not able to understand duplicate UUID and from where it is picking /dev/hda* ?
    ~
    VVM:>>
    VVM:>> Output of dmesg | grep ata contain substring "Hyper-V" ?
    VVM:>>
    it doesn't contain "Hyper-V" or ata related message and the output doesn't change with boot parameter reserve=0x1f0, 0x8
    ~~
    ~~~~
    ==
     output of dmesg related "ata" Ubuntu v13.04 mini.iso ( with boot parameter reserve=0x1f0, 0x8)
    ==
     see later ( in "good situation" example  )
    ~~
    ===
    Disable legacy ATA driver by adding the following to kernel command line in /boot/grub/menu.lst:
    reserve=0x1f0, 0x8
    . (This option reserves this I/O region and prevents ata_piix from loading).
    ==
     See output of dmesg related "ata" Ubuntu v13.04 mini.iso ( with boot parameter reserve=0x1f0, 0x8) :
    ~~
    [ 0.176027] 
    libata version 3.00 loaded.
    [ 0.713319] 
    ata_piix 0000:00:07.1: version 2.13
    [ 0.713397] 
    ata_piix 0000:00:07.1: device not available (can't reserve [io 0x0000-0x0007])
    [ 0.713404] 
    ata_piix: probe of 0000:00:07.1 failed with error -22
    [ 0.713474] 
    pata_acpi 0000:00:07.1: device not available (can't reserve [io 0x0000-0x0007])
    [ 0.713479] 
    pata_acpi: probe of 0000:00:07.1 failed with error -22
    ~~
      As result: 1) IDE disk handled by hv_storvsc , but 2) no CD-ROM device
    ==
    ~ # blkid
    /dev/sda1: LABEL="ARCH_BOOT" UUID="009c2043-4bl7-4f95-al4d-fb8951f95b5d" TYPE="ext2"
    ==
    ~~
    VVM>>
    VVM>>Q1: Output of blkid contain duplicate UUID ?
    VVM>>
    -> blkid contains duplicate UUID, below are the output.
    ~~
     This situation is classic problem "
    use hv_storvsc instead of ata_piix to handle the IDE disks devices ( but not for the DVD-ROM / CD-ROM device handling)
    ~~
     For compare, see example "good situation": 
     See output of dmesg related "ata" Ubuntu v13.04 mini.iso ( without boot parameter reserve=0x1f0, 0x8) :
    ~~~~
    ~ # dmesg |grep ata
    [ 0.167224] libata version 3.00 loaded.
    [ 0.703109] ata_piix 0000:00:07.1: version 2.13
    [ 0.703267] ata_piix 0000:00:07.1: Hyper-V Virtual Machine detected, ATA device ignore set
    [ 0.703339] ata_piix 0000:00:07.1: setting latency timer to 64
    [ 0.704968] scsi0 : ata_piix
    [ 0.705713] scsi1 : ata_piix
    [ 0.706191] atal: PATA max UDMA/33 cmd 0xlf0 ctl 0x3f6 bmdma 0xffa0 irq 14
    [ 0.706194] ata2: PATA max UDMA/33 cmd 0x170 ctl 0x376 bmdma 0xffa8 irq 15
    [ 0.868844] atal.00: host indicates ignore ATA devices, ignored
    [ 0.869142] ata2.00: ATAPI: Virtual CD, , max MWDMA2
    [ 0.871736] ata2.00: configured for MWDMA2
    ~~~~
    ===
    ~ # uname -a
    Linux ubuntu 3.7.0-7-generic #15-Ubuntu SUP Sat Dec 15 14:13:08 UTC 2012 x86_64 GNU/Linux
    ~ # lsmod
    hv_netvsc 22769 0
    hv_storvsc 17496 3
    hv_utils 13569 0
    hv_vmbus 34432 3 hv_netvsc,hv_storvsc,hv_utils
    ~ # blkid
    /dev/sr0: LABEL=”CDROM" TYPE="iso9660”
    /dev/sda1: LABEL="ARCH_BOOT" UUID="009c2043-4bl7-4f95-al4d-fb8951f95b5d" TYPE="ext2"
    ===
     ( only CD-ROM and 1( one) IDE disk connected to ATA)
    ~~
    regarding ata_piix.c patch . . .
    As far as i understand this patch , it ignore ATA devices on Hyper-V when PV drivers(CONFIG_HYPERV_STORAGE=y) are enabled.
    ~~
     Yes:
    ignore ATA-HDD ( but not ignore ATA CD-ROM )  on Hyper-V when PV drivers(CONFIG_HYPERV_STORAGE=y) are enabled.
    ~
     this patches need be backported:
      cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default
    and its prerequisite
      db63a4c8115a libata: add a host flag to ignore detected ATA devices
    ~
    ~~
    P.S.
     Are You do this:
    ==
    As temporary solution, increase on 1-2 Gb size all .vhd connected to IDE bus
    ( but not increase size of partitions inside disks)
    ==
    ? fsck write message a-la: "no error in file system" ?
    2013-01-24 Answer by Ujjwal Kumar: As a temporary solution looks ok for me, but [ VVM: need true solution ]
    P.P.S.
    To Ujjwal Kumar :
     My e-mail:
    ZZZZZZZZZZZZZZZ
    please send e-mail to me,  in reply I send to You patches to ata_piix ( and *.c before and after patches) , etc.
    } on 2013-01-14 -- DoNe

  • ZFS root filesystem & slice 7 for metadb (SUNWjet)

    Hi,
    I'm planning to use ZFS root filesystem in Sun Cluster 3.3 environment, as written in documentation when we will use UFS share diskset then we need to create small slice for metadb on slice 7. In standar installation we can't create slice 7 when we install solaris with zfs root, then we can create it with jumpstart profile below :
    # example Jumpstart profile -- ZFS with
    # space on s7 left out of the zpool for SVM metadb
    install_type initial_install
    cluster SUNWCXall
    filesys c0t0d0s7 32
    pool rpool auto 2G 2G c0t0d0s0
    so, my question is : "when we use SUNWjet (JumpStart(tm) Enterprise Toolkit) how we can write the profile similar to above jumpstart profile"?
    Thanks very much, for your best answer.

    This can be done with JET
    You create the template as normal.
    Then create a profile file with the slice 7 line.
    Then edit the template to use it.
    see
    ---8<
    # It is also possible to append additional profile information to the JET
    # derived one. Do this using the base_config_profile_append variable, but
    # don't forget to fill out the remaining base_config_profile variables.
    base_config_profile=""
    base_config_profile_append="
    ---8<
    It is how OpsCentre (which uses JET) does it.
    JET questions are best asked on the external JET alias at yahoogorups (until the forum is setup on OTN)

  • How will extend the Filesystem on solstice disksuite

    Hi Friends,
    In Solstice disk suite one of the filesystem has reached 90%, After doing house keeping finally it has reached 80%.
    However we are planned to extend the Filesystem.
    We have informed to management to procure 2* 18 Gb Hdd.
    I am not familiar in the Solstice disk suite, could you please provide me a procedure to extend the Filesystem on Solstice disk suite,
    Please find the following output below:-
    /dev/md/dsk/d8 52222754 41701831 9998696 81% /data
    # metastat d8
    d8: Mirror
    Submirror 0: d6
    State: Okay
    Submirror 1: d7
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 106070958 blocks
    d6: Submirror of d8
    State: Okay
    Size: 106070958 blocks
    Stripe 0:
    Device Start Block Dbase State Hot Spare
    c1t8d0s0 0 No Okay
    Stripe 1:
    Device Start Block Dbase State Hot Spare
    c1t9d0s0 3591 No Okay
    Stripe 2:
    Device Start Block Dbase State Hot Spare
    c1t10d0s0 4712 No Okay
    Stripe 3:
    Device Start Block Dbase State Hot Spare
    c1t11d0s0 4712 No Okay
    d7: Submirror of d8
    State: Okay
    Size: 106070958 blocks
    Stripe 0:
    Device Start Block Dbase State Hot Spare
    c5t0d0s0 0 No Okay
    Stripe 1:
    Device Start Block Dbase State Hot Spare
    c5t1d0s0 3591 No Okay
    Stripe 2:
    Device Start Block Dbase State Hot Spare
    c5t2d0s0 4712 No Okay
    Stripe 3:
    Device Start Block Dbase State Hot Spare
    c5t3d0s0 4712 No Okay
    Many Thanks
    Karthick

    Have a look for a solution here it sounds like your issue http://discussions.apple.com/thread.jspa?threadID=1780505&tstart=0, hope it helps.

  • [Solved] NFS shares root filesystem

    [edit] Sorry, my fault. I was using Nautilus m(
    and i think it silently switiched to using sftp.... still wondering why no password was prompted.
    Hi!
    I set up nfs following the wiki. It works, but i can access the whole remote-root-filesystem, not just the nfs-root. Is https://wiki.archlinux.org/index.php/NFS up to date?
    greetings
    Server:
    cat /etc/exports
    /srv/nfs4/ 192.168.0.0/24(ro,fsid=0,no_subtree_check)
    /srv/nfs4/a 192.168.0.0/24(ro,no_subtree_check)
    /srv/nfs4/b 192.168.0.0/24(ro,no_subtree_check)
    [root@alarmpi srv]#
    Client:
    showmount -e 192.168.0.116
    Export list for 192.168.0.116:
    /srv/nfs4/a 192.168.0.0/24
    /srv/nfs4/b 192.168.0.0/24
    /srv/nfs4 192.168.0.0/24
    Last edited by matto (2015-03-22 14:50:59)

    Thanks for the hints. Meanwhile, I have done some more background reading on running Arch in VMWare Player. In particular I followed the guidelines in this article. So it turns out that X requires some special configuration when run from within VMWare.
    pacman -S xf86-input-vmmouse xf86-video-vmware xf86-video-vesa svga-dri
    and a vmwgfx module is supposed to be loaded. I installed tha packages and tried to load vmwgfx, but when I do lsmod I just can't see it. Then it was pointed out to me that it might be a kernel mismatch problem. The linux installed on nfsroot is 3.6.2 whereas for some reason uname -a gives me version 3.5.6.
    I've tried to rebuild initramfs with the new kernel using -k switch of mkinicpio, but it didn't help. It still boots into 3.5.6. It as if the initramfs from the client was taking precedence. So then I went back to the previous image of my VM, updated the system, made appropriate changes to mkinitcpio.conf and run mkinitcpio... and it no longer boots. mount: protocol not supported. I will post the details in my other topic.

  • "ludowngrade" - Sol 8 root filesystem trashed after mounting on Sol 10?

    I've been giving liveupgrade a shot and it seems to work well for upgrading Sol 8 to Sol 10 until a downgrade / rollback is attempted.
    To make a long story short, luactivating back to the old Sol 8 instance doesn't work because I haven't figured out a way to completely unencapsulate the Sol 8 SVM root metadevice without completely removing all SVM metadevices and metadbs from the system before the luupgrade, and we can only reboot once, to activate the newupgrade.
    This leaves the old Sol 8 root filesystem metadevice around after the upgrade (even though it is not mounted anywhere). After an luactivate back to the Sol 8 instance, something gets set wrong and the 5.8 kernel panics with all kinds of undefined symbol errors.
    Which leaves me no choice but to reboot in Solaris 10, and mount the old Solaris 8 filesystem, then edit the Sol 8 /etc/system and vfstab files to boot off a plain, non-SVM root filesystem.
    Here's the problem: Once I have mounted the Old Sol 8 filesystem in Sol 10, it fails fsck when booting Sol 8;
    /dev/rdsk/c1t0d0s0: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
    # fsck /dev/rdsk/c1t0d0s0
    BAD SUPERBLOCK AT BLOCK 16: BAD VALUES IN SUPER BLOCK
    LOOK FOR ALTERNATE SUPERBLOCKS WITH MKFS? y
    USE ALTERNATE SUPERBLOCK? y
    FOUND ALTERNATE SUPERBLOCK AT 32 USING MKFS
    CANCEL FILESYSTEM CHECK? n
    Fortunately, recovering the alternate superblock makes the filesystem usable in Sol 8 again. Is this supposed to happen?
    The only thing I can think of is I have logging enabled on the root FS in Sol 10, so apparently logging trashes the superblock in Sol 10 such that the FS cannot be mounted in Sol 8 without repair.
    Better yet would be a HOWTO on how to luupgrade a root filesystem encapsulated in SVM without removing the metadevices first. It seems impossible since without any fiddling, all the LU instances on the host will share the SVM metadb's on the system, which leads to problems.

    Did you upgrade the version of powerpath to a release supported on Solaris 10?

  • XFS Root Filesystem on LVM Stripe - Corruption

    I want to create a LVM Stripe across two SATA drives.  The problem I keep running into is, on boot,  arch reports that a fsck needs to be run on the root filesystem, so it mounts it read only and allows me to type in the root password to get shell access.   This all happens after I do the initial arch install, reboot, log in normally, do a pacman -Syu, reboot. 
    Here's what I have and what I did...
    I have two 320G SATA Drives plugged into my system board (an ABIT AN-M2HD).  My Bios is set to "AHCI Linux" for the SATA mode.
    Boot the latest Arch CD install at command prompt:
    cfdisk /dev/sda
    create 125M Partition (for /boot)        /dev/sda1
    create 319G Partition                      /dev/sda2
    cfdisk /dev/sdb
    create 320G Partition                     /dev/sdb1
    lvm pvcreate /dev/sda2 /dev/sdb1
    lvm vgcreate lvmgrp0 /dev/sda2 /dev/sdb1
    lvm lvcreate -i2 -I4 -L1G -nswap lvmgrp0
    lvm lvcreate -i2 -I4 -L594G -nroot lvmgrp0
    /arch/setup  (I'm going to abbreviate this)
    Hard Drive Setup (chose option 3)
        Set swap to swap LV
        Set root to root LV (xfs)
        Set /dev/sda1 to /boot (ext3)
    /etc/rc.conf USE LVM="YES"
    Kerel Params = Boot from LVM Support? I answer Yes
    Grub Looks Good.
    Everything seemingly installs fine, I can reboot and arch comes right up.  But after I do pacman -Syu everything goes to pot.
    I suspect I have something wrong in alignment between the LVM stripe and XFS, but dont know..
    alternately, should I set my LVM Stripe Size to a value larger than 4?  I thought since on i686 max XFS block size is 4096 (4K) then they should match.  Any thoughts on this?
    help! ;-)
    Ether..

    I just wanted to add an update.  It wasn't a LVM issue, it was a XFS issue.
    I went to Arch 64 bit for a while and everything (above) worked just fine.. The usability and Lib32 issues with 64 bit lost it's luster and last weekend I went back to 32 bit Arch.
    In going back to 32 bit I followed my procedure above for partitioning just as I had with the 64 bit version and after rebooting from the install and updating packman, the same thing occurred, the file system would start to corrupt, pacman would complain that libraries were truncated and so forth.    After reboot, the /root partition would not mount read/write because it was not clean...
    I reinstalled Arch 32 bit 6 times on Saturday trying various things in a scientific way and came to this conclusion:
    __and I have no idea why__, but when I use the XFS file system on an install with Arch 32 bit, it hoses up.  "Your Crazy" you might say, but trust me I've tried it different ways more than a dozen times.  (I'm no n00b either, I've been an RHCE since 2003 and a daily Linux user since 1999.)  Seems crazy, but XFS was a constant in all of my testing.  The only thing I can figure is that it's my hardware and that's just a guess.  64 bit worked without a hitch with XFS.  I even got desperate and installed / on a lone 60 gig partition (/dev/sda1) completely deleting all LVMs and it still corrupted with XFS and 32 bit
    The Solution?
    I used JFS.  I have created the LVM Stripe as I have described above and it works great.  No issues.
    Weird..
    For the sake of knowledge I have a:
    AMD 5000+ Black Edition CPU
    Abit AN-M2HD Motherboard
    2 Gig Dual Channel RAM (2x1Gb)
    2 320 Gig SATA Drive
    1 SATA DVD Writer
    -Ether..
    Last edited by EtherNut (2008-01-29 14:54:01)

  • Remounting Root Filesystem Read-only, what for?

    Hi.
    I have question. What really for while rebooting/halting system root filesystem is remounted? One second before all filesystems are unmounted. Why it has to be mounted when shutting off the computer.
    Thanks in advance.

    alexpnx wrote:I have a question on a similar topic... How unsafe is it if the system is rebooted or shutdown without unmounting samba shares? Can the shares be corrupted?
    I think the  file(s) you're writing to during shutdown can be corrupted (not all corrupted, but simply unfinished saved), if you write there at all, but not anything else as the partition is still up on the host and the host takes care of metadata and stuff - it's worse with local partitions where metadata and stuff can be saved uncompletely, which can lead to files disappearing all over the filesystem, some old files showing up again etc.
    Can someone else confirm this?

  • Damaged root filesystem

    Hello folks,
    I'm in some trouble and need help!
    I mirrored my Solaris 10 root filesystem using Solaris Volume Manager using the following sequence of commands:
    metainit -f d1 1 1 c1d0s0
    metainit d2 1 1 c2d0s0
    metainit d0 -m d1
    I then edited the /etc/vfstab file to mount /dev/md/dsk/d0 instead of /dev/dsk/c1d0s0 on /. Then I supplied "init 6". The GRUB boot environment commands relating to booting from the disk containing the c1d0s0 slice were not changed.
    You'll immediately note the missing metaroot command; when I rebooted the root file system would not load and warned that it was unable to fsck the metadevice. It then proceeded to ask for the root password to access system maintenance mode.
    The question is: how can I safely roll back the change and reboot from /dev/dsk/c1d0s0? Can I start by going to system maintenance mode in order to use fsck -F ufs /dev/md/dsk/d0?
    Cheers!

    Here's the brief update: As Darren suggested, I was in fact able to run fsck on the slice underlying the metadevice and mount the root file system outside the control of the SVM service. Other problems unrelated to the subject of this thread have so far prevented me from closing this episode. For those interested, I'm providing details below.
    Here's the full update: I booted off the Solaris 10 1/06 installation DVD and ran fsck -F ufs /dev/dsk/c1d0s0 on the cloned drive. The 5th phase reported an impossible cylinder count and proceeded to correct it. A second fsck reported no further errors.
    I was then able to "mount /dev/dsk/c1d0s0 /tmp/goodroot", from where I corrected /etc/vfstab entries. Then, I rebooted.
    The root file system mounted but:
    1. I had trouble with another slice on the same cloned drive where I had saved my SVM database replicas, leading to a state of "Insufficient database replicas located."
    2. Furthermore, on this same cloned drive, a submirror (d51) of the /var filesystem mirror (d50) failed to load and reported that it needed maintenance.
    I tackled these problems using procedures documented in Sun doc 816-4520 (SVM Administration Guide):
    1. I used metadb -d -f c1d0s7 to remove the reference to the missing replicas of the metadevice database. I was then able to boot without the error messages relating to the replicas.
    2. After the reboot referred to above, I replaced the submirror of d50 using:
    metadetach -f d50 d51
    metaclear -f d51
    metainit d51 1 1 c1d0s5
    metattach d50 d51
    More info at it becomes available,
    Cheers!

  • Restore root filesystem problem.

    Dear All,
    when I take backup of root one mounted file system and restart the system
    then Go to failsafe in single user mode and run newfs on root filesystem.
    then go to cd /a
    then i want to restore backup of root on /a
    but showing error
    #ufsrestore ivf /dev/dsk/c0d0s6
    Error: Verify volume and initinlize maps.
    Media blocksize is 126
    Volume is not in DUMP format.
    Please provide solution....

    I have a similar problem and i still have no resolution & here it is:
    "i have a question on the Jet and the configuration is vmware can someone point me to the right direction please:
    nic
    Error Found on S10X_u5w0s_10_x86 vmware prodsau01 solaris server on prodmam3 hardware:
    Solaris 10 5/08 s10x_u5wos_10 X86 was not found on /dev/dsk/c1t0d0s0
    do you wish to have it mounted read-write on /a? (y,n,?)
    And the disk c1 slice is available but not bootable ?? "
    Any help to debug this issue will be appreciated. I have no support from sun on vmware at this point.
    nic

Maybe you are looking for

  • "Your computer restarted because there was a problem"

    Over the last week or so, I've had issues with my system suddenly restarting. I have not been able to conclude any common symptoms when this happens and this issue is becoming more and more common to the point where it is happening multiple times wit

  • Updated to OS X Snow Leopard, now I'm having problems

    i just updated to OS X Snow Leopard, now I'm receiving an error message when I try to print on my Epson? Any Ideas on how I fix it?

  • How to trace Allocation amoung entities ?

    Dear Experts, I am using 7.0NW version. I am doing Allocation, I have 200 entities which allocation amounts to each other. I mean one entity will allocate to another entity and visa versa. Now, I would like to trace (track) the entities like which en

  • Best way to implement selectOneRadio component with "other" option

    I have a selectOneRadio component that has an other option (see below). If the other option is selected I need to pull the value out of a text field. Any ideas on the best way (or any way) to implement this? This is how it looks on the screen... Plea

  • When is the LION update coming out?

    I was just wondering, On the apple site it says that the lion upgrade is coming out in july but now it is july 19 and it has still not been released.