Ext3 to ext4 /home upgrade

Hello folks,
I'm thinking on upgrading my /home ext3 partition to ext4, I already read about the new features and performance improvement, also about the little problems, and the bug about the data loss, it not being a problem to me 'cause I have an UPS.
So, do you recomend me to upgrade or wait a little more for any important problem being right now, etc etc.
Also, how do you recommend me to do the switch;
a) upgrade the ext3 partition to ext4
b) backup everything format to ext4 and copy back
Any trick to increase permormance, noatime, data=writeback, etc etc
Thanks for your opinions and excuse my grammar.

All info on performance tricks, etc. can be found in the ext4.txt file in the Documentation folder in the kernel sources.
http://git.kernel.org/?p=linux/kernel/g … xt;hb=HEAD
ext4 is a stable, solid FS that has been in the kernel for two years or so now, even though it's only recently been marked stable.
As for the data loss, it's not a bug. Here's the lowdown. See, *most* filesystems behave in such a way that data is comitted to disk, practically guaranteed, in a very short amount of time. XFS, ext4, and Btrfs all perform delayed allocation in order to be faster. Apps that have been written according to the POSIX standard will be fine with ext4 and those other filesystems. Some apps, however, are written in such a way that if there is a sudden power loss (if the ext4 filesystem suddenly dies), data might be truncated, usually to 0. This is a bug in the _apps_ - the standard makes no guarantee that the filesystem works like ext2/3, ReiserFS, JFS, etc. But since there's a good number of buggy apps, Tso is working on some ugly hacks to make this scenario less likely. What you can do right now is add the 'nodealloc' mount option to your fstab. This will disable delayed allocation. Boom, no more 'bug'. Lower speeds, but still faster than ext3. Kernel 2.6.30 will likely have more efficient hacks that can let you have partial delayed allocation.
Durr. Just read that you have a UPS. So, you're good, most likely
Although, I would only really recommend ext4 if you have particular need of its features - fast fsck, fair performance increase (you likely will not notice it outright), barriers (makes data even less likely to go *poof*, but there can be big performance losses, and cannot be used with device-mapper (LVM, LUKS)), file # limit, etc., OR if you are planning on setting up a new /home anyways and want to spare trouble later. If you're already on another FS and would otherwise not need to do any switching or anything, I'd stick with ext3 for maybe a year.

Similar Messages

  • Kernel panic after converting from ext3 to ext4?

    I'm running Arch 64 on a Lenovo ThinkPad R61.  I did a pacman -Syu this morning and upgraded to 2.6.28-ARCH, among other things.  I rebooted to verify that nothing went amiss with the kernel upgrade.  Indeed, there appeared to be no problems.  I then followed some directions on converting my partition from ext3 to ext4.  (I did a tune2fs and then a fsck.)  After finishing the fsck, I rebooted to find the following error message:
    kinit: Cannot open root device sda2(8,2)
    kinit: init not found
    Kernel panic - not syncing: Attempted to kill init!
    I rebooted twice and got the same result.
    What should I do?

    see http://bbs.archlinux.org/viewtopic.php?id=38136
    i had this prolbem but i resolved
    Last edited by ugaciaka (2009-01-16 17:20:06)

  • ERP6.0 EHP7 : ext3 or ext4 filesystem

    Hi Gurus,
    Is using ext4(filesystem type) allowed for ERP6.0 EHP7 (RHEL6.5) ?
    1839658 - Is ext3 file system supported for ECC 6.0 EHP6 on RHEL 6 or ext4 required?
    SAP note above saying nothing about ext4.
    Regards,
    AM.

    Unfortunately I don't see one but according to the SAP note 1839658 - Is ext3 file system supported for ECC 6.0 EHP6 on RHEL 6 or ext4 required? I believe EXT3 and EXT4 are supported. Maybe you can raise an OSS message and get this clarified.
    Regards
    RB

  • Ext3 or ext4

    Hello,
    When installing Archlinux on a new computer, which do you think would be the best choice of file system: ext3 or ext4?
    Does ext4 still have potential instability issues, or is it very reliable now?
    Is there maybe another filesystem I should look at instead?
    Thanks!

    ext3's fsck times are pretty slow. I have a 40 GB ext3 and it's painful. I literally grab a cup of coffee while waiting for it to finish. It takes minutes.
    My other box is 80 GB ext4 and fsck takes just a couple extra seconds compared to the regular (w/o fsck) boot.
    You can tweak both filesystems, depending whether you want to be safe or get extra speed (things like barriers=0) http://www.kernel.org/doc/Documentation … s/ext4.txt

  • Login Page not getting Displayed after 10.1.3 Home Upgrade in R12

    Hi,
    We are performing an Upgrade of 12.0.6 to 12.1.1.
    We have just finished the upgrade of 10.1.3 Home to 10.1.3.4. After the successful completetion of Patchset Installation, as a part of Instance
    Validation , we found that we were not able to get the R12 Login Page displayed.
    On Checking the Apache Logs, The Error Message looked as below:
    [Tue Jun 30 03:08:36 2009] [error] [client 159.182.123.2] [ecid: 1246345716:168.146.11.159:585784:0:2,0] File does not exist:
    /u18/app/HUTLcomn/apps/HUTL_oldtut353/portal/OA_HTML/AppsLocalLogin.jsp
    But AppsLocalLogin.jsp in our environment is located in the correct location
    $OA_HTML
    oldtut353:orapps(app):HUTL:[home/orapps] echo $OA_HTML
    /u18/app/HUTLcomn/webapps/oacore/html
    oldtut353:orapps(app):HUTL:[home/orapps] cd
    $OA_HTML
    oldtut353:orapps(app):HUTL:[u18/app/HUTLcomn/webapps/oacore/html] ls -ltr AppsLocalLogin
    -rw------- 1 orapps dba 4094 Jun 16 02:03 AppsLocalLogin.jsp
    It is reading the AppsLocalLogin.jsp from a non existent Location < INST_TOP>/portal/OA_HTML/AppsLocalLogin.jsp
    I have run the autoconfig successfuly in all the Application Tiers and generated Product JAR Files. But still the Error Exists.
    Please help to resolve this issue.

    Thank You Helios.
    The thread which you had mentioned in your previous reply had the similar issue which i was facing.
    I moved forward with the remaining Pre-Upgrade Tasks, Applied Maintainence Pack and then completed the Post Upgrade Tasks.
    I am very delighted to let you know that my Upgrade from 12.0.6 to 12.1.1 was successful. I got the feeling of GLADIATOR :) when I saw the Login Page appearing for the first
    time after the Upgrade.
    Thank you all for your help and Support.
    Thanks,Varun

  • Filesystems benchmarked: EXT3 vs EXT4 vs XFS vs BTRFS

    I wondered across this fine artical this morning, and thought I would share it with the community.
    Quote:
    Let's start from the most obvious: the best balanced filesystem seems to be the mature, almost aging EXT3. This is natural, as it received most cumulative improvements over a long period of time. It has very good sequential and random write speeds and reasonable read speed, factors that are of utmost importance on several different tasks. For example, if you plan to run a database server you are almost forced to use EXT3, as all other filesystems seems to have big problems with synchronized random write speed. Also, you can't go wrong with EXT3 if you use it on your workstation as its performances are quite good in a great amount of different jobs. Finally, EXT3 is more stable than the others FS as most of its bug are by now already worked out.
    However, this not means that EXT3 is the perfect FS: first, it that lacks some important features as delayed allocation and online compression. It lacks native snapshots capability also but you can use LVM to overcome this. It is more fragmentation-prone that EXT4 and XFS and it is very slow in creating/deleting large amount of files, denoting a not-so-good metadata handling. Moreover, it use more CPU cycles than EXT4 and XFS, but with todays CPU I don't think that this is a great problem. If you can live with these minor faults, EXT3 is the right filesystem for you.
    Please don't just read that one paragraph though, they have ten pages worth of detailed and varied benchmarks they used to form that opinion. And the artical is dated from the middle of last month, nice and recent
    Interesting stuff, I thought that ext4 would do better (not that it did poorly, but relative to ext3) And that btrfs wouldnt be as slow as it currently seems, though as the tester commented, it's a very new filesystem. Maybe Arch should ship btrfs as an install option? Help these guys iron out the bugs!

    fukawi2 wrote:
    Misfit138 wrote: Dodge RAM 2500 Cummins Turbodiesel FTW.
    F650 FTW
    Well if you go there, then I have to pull out my Chevy Kodiak Pickup.
    Last edited by Misfit138 (2010-12-04 02:13:59)

  • Moved home, upgraded, delivery mess up, ridiculous...

    Hi i moved home roughly 2/3 weeks ago (had to move within 24 hours so was all a bit of a rush) and the day after moving in i put i rang up to say ive moved home and was given a date of an engineer to come out (this thursday) and switch my phoneline and internet on (i even upgraded from basic broadband to bt infinity 2 fibre optic) and also a date of which my bt home hub 4 and ethernet would be delivered which was today, ive been paitently awaiting for my package to arrive and then at 8oclock i thought id track it to find out it has been delievered to my old address even though i have no access what so ever.... why the **** would they send my package to my old address when the reason i am getting this package in the first place is due to moving home and upgrading?! The address on the engineers visit order sheet is correct and my current address but the equipment has been sent to my old address... No one would of been there so what would happen to my equipment? Ive been this long without service so far (a total of 4/5 weeks in 4 months of having bt) and i dont wish to have an even longer wait to get back online properly due to BTs stupid **bleep** up! What can i do?
    Solved!
    Go to Solution.

    Have you tried contacting BT to find the answer to your questions.
    https://bt.custhelp.com/app/contact#h=eyJzdGVwMCI6ImNvbnRhY3RJdGVtTGluazU2MTciLCJzdGVwSWR4IjoxLCJzdG...
    If you don't have the equipment when the engineer arrives they usually carry a supply on their van for such eventualities however if you contact BT and explain the problem they will sent out another set just make sure they understand which address its to go to.

  • Mounting ext3 root FS as ext4

    Hi,
    I'd like to move from ext3 to ext4 on my HD, but I'm not yet completely sure about that , so I'd like first to try out the "no conversion" upgrade by mounting my existing ext3 filesystem as ext4.
    So I changed "ext3" in my fstab to "ext4", but the system still mounts my ext3 device as ext3. I think the problem resides in klibc and initramfs .
    I tried setting the rootfstype= parameter at boot but I get Kernel Panic.
    The system is upgraded to lastest version.
    Can you help me in getting my ext3 root be mounted as ext4 at boot time?
    Thanks
    Marcello

    Look at the wiki page:
    http://wiki.archlinux.org/index.php/Ext … Converting
    You did not convert the fs, so it is still mounted as ext3, but used in a ext4-compatible mode. You'll need to convert the fs as described below on the same wiki page to take advantage of the ext4 features and improvements.
    Be aware though that there may be some data loss related to some software bugs (such as KDE): http://www.h-online.com/open/Possible-d … ews/112821

  • Upgrade OracleAS 10g 10.1.3 Home in Oracle E-Business Suite Release 12

    Hi All,
    We are currently Upgrading from 12.0.6 to 12.1.1 on AIX 5.3 While performing the Pre-Upgrade Task of Upgrading 10.1.3.0 to 10.1.3.4.0 per document 454811.1. runInstaller fails with"*OPMN is failing to start. OPMN must be started in order to correctly install and configure the patchset. Please start OPMN manually in order to continue with the patchset install*."
    We have also modified the OPMNCTL Script located in <1013_Oracle_home>/opmn/bin as mentioned in the Read ME of the Patch 8461753
    for AIX Customers. Still The Error Persists.
    Any CLues to resolve this? I have also a TAR with Oracle to resolve this.
    Also I need to understand that do we have to follow the sequence of Pre-Upgrade Tasks as given in 752619.1 Since i am not able to move
    forward with 10.1.3 Home Upgrade ..IS it oK if i go ahead with 10.1.2 and Java 6.0 Upgrade first and then complete 10.1.3 home upgrade?
    Thanks,Varun

    Hi Sawaan,
    I did the check ORAINSTALL Log generated in the following Location INST_TOP/admin/OraInventory/Logs and below are the error messages.
    java.io.FileNotFoundException: /u18/app/HUTLcomn/apps/HUTL_oldtut354/admin/oraInventory/Components/oracle.as.j2ee.top/10.1.3.0.0/1/context.ser (A file or directory in t
    he path name does not exist.)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:129)
    at java.io.FileInputStream.<init>(FileInputStream.java:89)
    at oracle.sysman.oii.oiis.OiisCompContext.readContext(OiisCompContext.java:1889)
    at oracle.sysman.oii.oiis.OiisSerBaseCompContext.readContext(OiisSerBaseCompContext.java:116)
    at oracle.sysman.oii.oiic.OiicCompsWizEngine.setBaseContextForPatches(OiicCompsWizEngine.java:390)
    at oracle.sysman.oii.oiic.OiicCompsWizEngine.doOperation(OiicCompsWizEngine.java:194)
    at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.iterate(OiifbLinearIterator.java:131)
    at oracle.sysman.oii.oiic.OiicInstallSession$OiicSelCompsInstall.doOperation(OiicInstallSession.java:3701)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:162)
    at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:970)
    at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:232)
    at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:400)
    at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:742)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:653)
    java.io.FileNotFoundException: /u18/app/HUTLcomn/apps/HUTL_oldtut354/admin/oraInventory/Components/oracle.opmn/10.1.3.0.0/1/context.ser (A file or directory in the path
    name does not exist.)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:129)
    at java.io.FileInputStream.<init>(FileInputStream.java:89)
    at oracle.sysman.oii.oiis.OiisCompContext.readContext(OiisCompContext.java:1889)
    at oracle.sysman.oii.oiis.OiisSerBaseCompContext.readContext(OiisSerBaseCompContext.java:116)
    at oracle.sysman.oii.oiic.OiicCompsWizEngine.setBaseContextForPatches(OiicCompsWizEngine.java:390)
    at oracle.sysman.oii.oiic.OiicCompsWizEngine.doOperation(OiicCompsWizEngine.java:194)
    at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.iterate(OiifbLinearIterator.java:131)
    at oracle.sysman.oii.oiic.OiicInstallSession$OiicSelCompsInstall.doOperation(OiicInstallSession.java:3701)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:162)
    at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:970)
    at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:232)
    at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:400)
    at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:742)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:653)
    java.io.FileNotFoundException: /u18/app/HUTLcomn/apps/HUTL_oldtut354/admin/oraInventory/Components/oracle.sysman.ascontrol/10.1.3.0.0/1/context.ser (A file or directory
    in the path name does not exist.)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:129)
    at java.io.FileInputStream.<init>(FileInputStream.java:89)
    at oracle.sysman.oii.oiis.OiisCompContext.readContext(OiisCompContext.java:1889)
    at oracle.sysman.oii.oiis.OiisSerBaseCompContext.readContext(OiisSerBaseCompContext.java:116)
    at oracle.sysman.oii.oiic.OiicCompsWizEngine.setBaseContextForPatches(OiicCompsWizEngine.java:390)
    at oracle.sysman.oii.oiic.OiicCompsWizEngine.doOperation(OiicCompsWizEngine.java:194)
    . at oracle.sysman.oii.oiis.OiisCompActions.copyGroupAction(OiisCompActions.java:1128)
    at oracle.sysman.oii.oiis.OiisCompActions.doAction(OiisCompActions.java:826)
    at Patches.oracle.javacache.v10_1_3_4_0.CompActions.doAction(Unknown Source)
    at Patches.oracle.javacache.v10_1_3_4_0.CompInstallPhase1.doActionP1copyGroup2(Unknown Source)
    at Patches.oracle.javacache.v10_1_3_4_0.CompInstallPhase1.stateChangeActions(Unknown Source)
    at Patches.oracle.javacache.v10_1_3_4_0.CompActions.stateChangeActions(Unknown Source)
    at oracle.sysman.oii.oiif.oiifw.OiifwInstallPhaseWCCE$OiifwComponentIP1WCCE.performStateChangeActions(OiifwInstallPhaseWCCE.java:1528)
    at oracle.sysman.oii.oiif.oiifw.OiifwInstallPhaseWCCE$OiifwComponentInstallPhaseWCCE.doOperation(OiifwInstallPhaseWCCE.java:949)
    at oracle.sysman.oii.oiif.oiifw.OiifwInstallPhaseWCCE$OiifwComponentIP1WCCE.doOperation(OiifwInstallPhaseWCCE.java:1497)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:162)
    at oracle.sysman.oii.oiif.oiifw.OiifwInstallPhaseWCCE.doOperation(OiifwInstallPhaseWCCE.java:569)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:162)
    at oracle.sysman.oii.oiif.oiifw.OiifwActionsPhaseWCDE.doOperation(OiifwActionsPhaseWCDE.java:480)
    at oracle.sysman.oii.oiif.oiifb.OiifbLinearIterator.iterate(OiifbLinearIterator.java:131)
    at oracle.sysman.oii.oiic.OiicInstallSession$OiicSelCompsInstall.doOperation(OiicInstallSession.java:3720)
    at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:162)
    at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:970)
    at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:232)
    at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:400)
    at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:742)
    at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:653)
    ~
    I am not sure whats the error here is. The ORA INVENTORY is pointing to correct locationl. Please review and suggest.
    Thanks,Varun

  • Can't apply Ultra Search to an upgraded Oracle Home. Do I have any options?

    Hi
    I've made a mistake!!
    I created an Oracle Home, upgraded it to 10.2.0.4 and then created a new DB. This now contains SOA Suite and Content Management users which is working great.
    I now need to add Ultra Search to this DB, but the install for this won't work as the installer expects a 10.2.0.1 home. Anyway, it probably wouldn't be a good idea anyway I would have thought as it would apply 10.2.0.1 software to a more recent version.
    So, not being a DBA, do I have any options?
    For example, I thought about creating a new home, adding all the extra software and then upgrading the home to 10.2.0.4. Then, could I clone the DB to this new home?
    Any advice would be most appreciated.....
    Many thanks
    Chris

    I can confirm that Ultra search cannot be installed by dbca in 10.2.0.4 database. It complains about invalid objects during installation in the created schema. Investigation showed up its some wrapped plsql package implementations that cannot be compiled.
    When installing first 10.2.0.1 db, then patching to 10.2.0.3, then installing companion 10.2.0.1 and patching companion again to 10.2.0.3, Ultra search installation works in dbca.
    Ultra search is needed for example by metadata creation assistant 10.1.4 (for Oracle internet directory 10.1.4). So Oracle internet directory cannot be installed on 10.2.0.4. Oracle probably didn't test this possibility

  • RAID 5 array. 2 arrays (/) and (/home) - asks about this

    Hello pals. On wiki, we'have that it's necessary create the array with mdadm, after assemble, and after installs arch like anyother disk system, just add while in chroot "mdadm_udev" and run "mkinitcpio -p linux"
    My question, however, is:
    In a first try, I don't know if I did the mistake, but my /home partition were mounted, with, the root partition. So "not enough space".
    I've reinstalled all again, Everithing working since, but yesterday, arch halts and, after reboot, I "lost" my /home, and not "md0" and "md1" devices, but "md126" and "md127" ones are founded on my arrays, and, no more linux.
    fsck didn't work (not found the uuid XXXX partition"
    I'm using a RAID5 scheme with "md0" as /root and "md1" as /home. md0 with 3 hard disks and md1 with three too.
    RAID is a LSICorp with 21320R 6 bay. HD SCSI
    partition type were XFS to "root" and "ext4" to /home.
    Begginer's guide to install, and
    https://wiki.archlinux.org/index.php/RAID
    to create RAID

    Ok... everything reinstaled.
    sdc                                                                       
    └─sdc1  linux_raid_member archiso:0   5a556144-7cad-36e1-b969-300e33e42055
      └─md0 xfs               root        3cd56eab-5747-4468-92e0-d53baf0d5544 /
    sdd                                                                       
    └─sdd1  linux_raid_member archiso:0   5a556144-7cad-36e1-b969-300e33e42055
      └─md0 xfs               root        3cd56eab-5747-4468-92e0-d53baf0d5544 /
    sde                                                                       
    └─sde1  linux_raid_member archiso:0   5a556144-7cad-36e1-b969-300e33e42055
      └─md0 xfs               root        3cd56eab-5747-4468-92e0-d53baf0d5544 /
    sdf                                                                       
    └─sdf1  linux_raid_member archiso:1   d27f91fb-ed92-12a7-340c-11b8636d491f
      └─md1 ext4              home        6cb919d4-9016-4a7b-8336-01a1244a0630 /home
    sdg                                                                       
    └─sdg1  linux_raid_member archiso:1   d27f91fb-ed92-12a7-340c-11b8636d491f
      └─md1 ext4              home        6cb919d4-9016-4a7b-8336-01a1244a0630 /home
    sdh                                                                       
    └─sdh1  linux_raid_member archiso:1   d27f91fb-ed92-12a7-340c-11b8636d491f
      └─md1 ext4              home        6cb919d4-9016-4a7b-8336-01a1244a0630 /home
    cat /proc/mdstat
    cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4]
    md1 : active raid5 sdh1[3] sdg1[1] sdf1[0]
          142884864 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU]
    md0 : active raid5 sde1[3] sdc1[0] sdd1[1]
          70778880 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU]
    /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir>   <type>  <options>       <dump>  <pass>
    # /dev/md0 LABEL=root
    UUID=3cd56eab-5747-4468-92e0-d53baf0d5544       /               xfs             rw,relatime,attr2,inode64,logbsize=64k,sunit=128,swidth=256,noquota  0 1
    # /dev/md1 LABEL=home
    UUID=6cb919d4-9016-4a7b-8336-01a1244a0630       /home           ext4            rw,relatime,stripe=192,data=ordered  0 2
    Anything to change?
    I remember that the ~last problem~ were during a upgrade.

  • Hw problems or ext3 bug?

    Hi,
    This message is posted in "Workstation User" and "Kernel and HW issues" because I'm not sure what the problem is.
    I'm having a problem with ext3 partition and I'm not sure if it's a bug o what. It has happened 3 times yesterday (Sunday), before I switched off the computer at night.
    Situation
    * A computer (no laptop) with 2 HD (hda and hdd) and a few partitions in each disk.
    * Hdd has 1 ext3 and 2 xfs.
    * Hda has 1 swap (hda1), 2 ext3 and 1 xfs. The two ext3 are "/" (hda5) and /home (hda6). The rests of directories /var /tmp and so are part of "/", on hda5.
    * It's a coincidence (or not) but last weekend I made a "pacman –Sy; pacman –Su", and two of the packages updated were "filesystem" and "kernel". The pacman repositories I have configured are "current" and "extra".
    The problem
    After a few hours working the console shows the following messages:
       journal_bmap: journal block not found at offset 25312 on hda5
       Aborting journal on device hda5.
       ext3_abort called.
       EXT3-fs error (device hda5): ext3_journal_start_sb: Detected aborted journal
       Remounting filesystem read-only
    From that point, a lot of syslog-ng errors because of read-only filesystem, and also erros from other programs (xorg, kde, etc).
    Obviously nothing works properly. In hda5 is mounted "/", including /var and /tmp and it's read-only.
    The offset referred (25312) is different each time it happened.
    First idea
    Could it be the hw, physical error? It could, but when I've had problems with hw, there were lots of messages like "seek error", "read error sector ##", "seek complete error", etc.
    But in this situation there aren't. And the error is always in hda5, never in hda6 (also ext3) not hda7 (xfs). So I doubt it's a hw problem.
    Why not hda6? My opinion, hda5, root fs, is heavily used compared to hda6 (/home). The third time I got the error, I didn't log into any session. Only the OS and services.
    Could it be a bug, related to ext3, after the last upgrade?

    Please don't cross-post:
    http://bbs.archlinux.org/viewtopic.php?t=25392
    Locking.

  • [SOLVED] /home/root instead of /root ?

    I am going to use LVM and LUKS + dm-crypt. I will encrypt:
    swap
    /home
    /tmp
    /srv
    maybe /var
    I am thinking about /root - is it OK to set root's home to /home/root ? I know reasons why root home is not usually in /home/root, but for my workstation it seems to me like reasonable choice which spares me one more LVM volume. But I am not sure if I can do this same way as with usual user, maybe root's home location can not be moved that easily.
    Last edited by stabele (2009-03-23 21:02:45)

    The reason I wrote in first post
    I know reasons why root home is not usually in /home/root, but for my workstation it seems to me like reasonable choice which spares me one more LVM volume.
    I will use ext3 or ext4 which reserves space for root.  I am not going against standards (thanks for them!), i am just using flexibility permitted by them - as djgera pointed out, /root it recommended but not required by FHS. I would never do this at shared computer or production server, I am open to reasons why it is bad idea but as of now I see none in my particular case.
    Last edited by stabele (2009-03-23 15:05:29)

  • Getting ready for ext4

    EDIT (18jan09): Since this thread was begun, pointone has added a wiki section on converting ext3 partitions to ext4. Find it here.
    I guess this means I don't have much of a life, but I'm getting pretty excited about ext4. I haven't tried a new filesystem in ages.
    There are good pages out there on ext4, such as this how-to and this overview. Still, I'm a little wobbly on just how the conversion/migration is going to go.
    I won't be creating any ext4 partitions from scratch right away, but I'll be converting two partitions from ext3 to ext4. It looks as if this is all I'll have to do:
    (1) Use kernel 2.6.28 or later.
    (2) Make sure ext4 is enabled in my kernel config.
    (3) In /etc/fstab, change the file type of my two ext3 partitions to ext4.
    Is this right? Is there anything else necessary?
    Now, here's an additional question:
    If I want to apply extents to my existing ext3 partitions as I convert to ext4, do I have to do anything? I realize that in doing so, I will no long be able to access those formerly ext3 partitions as ext3. Or at least that's what I understand.
    Last edited by dhave (2009-01-18 22:44:45)

    O.K., after finally getting through this process of converting two partitions from ext3 to ext4, including my root (but *not* my boot, which I left as ext2) partition, here's the outline of what I had to do. If others could scan this for errors or missteps, or make other improvements, please do so.
    Note that this is for converting an existing ext3 partition to ext4, not for creating a new ext4 partition from scratch (which is arguably easier and probably more efficient, since you'll have all ext4 features enabled from the beginning).
    Here's the procedure I followed:
    (1) Back up any ext3 partitions that you want to convert to ext4. I didn't have to use my backups, but I came very close to needing to, and it made the process much more pleasant knowing that I had the backups if I needed them.
    (2) Edit /etc/mkinitcpio.conf, adding "ext4" to the "MODULES=" line. NOTE: If you're using mkinitcpio-0.5.20-1 or later and klibc-1.5.14-2 or later (both still in [Testing] repo as of 31dec08), this step may no longer be necessary. Edited on 31dec08.
    (3) Install kernel 2.6.28 or later. You can use Arch kernel26 from testing (as of 26dec08); just verify that the kernel version is at least 2.6.28. Ext4 is enabled by default in the kernel config. In the Arch kernel 2.6.28, ext4 is built by default as a module, which seems to be fine.
    (4) In /etc/fstab, change the file type of any ext3 partitions that you want to change to ext4. Don't change /boot to ext4 unless you've upgraded to grub2.
    (5) Now do the actual filesystem conversion using the tune2fs and fsck tools. These need to be run when your target filesystem is unmounted. So, take a recent LiveCD of some sort. NOTE: It needs to have a current version of e2fsprogs; I like SystemRescue 1.1.3, which has e2fsprogs 1.41.3. A current Arch install CD should serve, too, as long as it's recent. (I'd download and burn a fresh one just to make sure.)
    (a) Boot from the LiveCD, then run this on the filesystems you want to convert from ext3 to ext4:
    tune2fs -O extents,uninit_bg,dir_index /dev/yourfilesystem
    (b) After running this command you MUST run fsck. If you don't do it, Ext4 WILL NOT MOUNT your filesystem. This fsck run is needed to return the filesystem to a consistent state. It WILL tell you that it finds checksum errors in the group descriptors - it's expected, and it's exactly what it needs to be rebuilt to be able to mount it as Ext4, so don't get surprised by them. Since each time it finds one of those errors it asks you what to do, always say YES. If you don't want to be asked, add the "-p" parameter to the fsck command, it means "automatic repair":
    fsck -pf /dev/yourfilesystem
    [This part is taken from the kernelnewbies page that shuay referred to above: http://kernelnewbies.org/Ext4 .]
    On my 200Gb partition, I think fsck needed about 15 minutes to complete this, using the "-pf" switch.
    (6) Edit the grub /boot/grub/menu.lst file if you migrated your /root partition. Add this to the kernel line:
    rootfstype=ext4
    NOTE: If you're using mkinitcpio-0.5.20-1 or later and klibc-1.5.14-2 or later (both still in [Testing] repo as of 31dec08), the step just above (#6) may no longer be necessary. Edited on 31dec08.
    Note also that I'm using grub legacy (not grub2), so I didn't migrate my /boot partition and I was able to make grub changes in /boot/grub/menu.lst rather than the newer grub.cfg approach. I don't know what to do for Lilo, as I no longer use it.
    (7) If your main kernel doesn't boot, try the fallback.
    That should do it. Please, if I've omitted something or goofed up otherwise, say so soon! I don't want to mess anyone else up.
    Last edited by dhave (2008-12-31 19:59:27)

  • URGENT:upgrade to 3.0.8 issue Call to WPG_SESSION API Failed.Error-Code:6550

    I ran upgrade scripts to 3.0.8 from 3.0.6 and completed with no errors.
    csh diag.csh reports no errors.
    sqlplus to connect string works fine
    DAD connect string is correct.
    err text:
    Call to WPG_SESSION API Failed.
    Error-Code:6550
    Error TimeStamp:Tue, 5 Jun 2001 03:36:50 GMT
    Database Log In Failed
    TNS is unable to connect to destination. Invalid TNS address supplied or destination is not listening. This error can also occur because of underlying network transport problems.
    Verify that the TNS name in the connectstring entry of the DAD for this URL is valid and the database listener is running.
    DIAG.CSH output
    oracle(dba)@ws12:/export/home/upgrade:$csh diag.csh -s portal30 -p portal30 ->
    Begining Portal Diagnostics
    ...portal_schema: portal30
    ...portal_password: *************
    ...connect_string: iforce
    Loading java class for Portal Diagnostics ...SQL*Plus: Release 8.1.6.0.0 - Production on Mon Jun 4 20:48:59 2001
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    SQL> SQL> Creating Table 'wwsec_diagnostic$'
    Creating Sequence 'wwsec_diagnostic_seq'
    Diagnostics Report v 1.0: Oracle Portal v 3.0.8.9.8
    As of 04-Jun-2001 20:49:02 Schema Name: PORTAL30 SSO Schema Name: portal30_sso
    PORTAL30.wwsec_enabler_config_info$
    Login Server URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    DAD : portal30_sso
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30_sso
    Connect string : iforce
    Authentication mode : Single Sign-On
    portal30_sso.wwsec_enabler_config_info$
    Login Server URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    DAD : portal30_sso
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30_sso
    Connect string : iforce
    Authentication mode : Single Sign-On
    Partner Application Information
    **** Oracle Portal (portal30) ****
    Home URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30/portal30.home
    Success URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30/portal30.wwsec_app_priv.process_signon
    DAD : portal30
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30
    Connect string : iforce
    Authentication mode : Single Sign-On
    **** The Login Server (portal30_sso) ****
    Home URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30_sso/portal30_sso.home
    Success URL : http://ws12.sempi.eng.sun.com:7777/pls/portal30_sso/portal30_sso.wwsso_home.process_signon
    DAD : portal30_sso
    Host connection : successful.
    mod_plsql : working.
    JServ : working.
    Schema name : portal30_sso
    Connect string : iforce
    Authentication mode : Single Sign-On
    Diagnostics completed successfully!
    Disconnected from Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    null

    Venu
    Have you also upgraded your 9iAS instance to 1.0.2.2? The WPG_SESSION API error commonly appears when you are not using the lastest version of mod_plsql contained in 1.0.2.2.
    See: Migration Guide for Oracle9iAS Solaris or NT/2000.

Maybe you are looking for

  • Memory

    As a first-time builder, I have a lot of questions about memory.  I'll probably be running a 990x on a X58 motherboard but haven't narrowed it to a specific board yet.  Also, I probably won't be overclocking at first but would like to eventually as I

  • Getting top 9, aggregating the rest - challenge with SUM

    Dear, I'd like to get the top 9 customers and aggregate the remaining to one number. My query is: select k.kundenid, k.KDNR, k.FIRMA_1, sum(a.auftrag_total) from auftrag a, kunden k where a.kunde_id=k.kundenid and TO_CHAR(a.DATUM,'YYYY')=TO_CHAR(sysd

  • Lightroom 5.2 Update unknown to CC Desktop App

    I installed Lightroom 5 several weeks ago through Creative Cloud. Lightroom now tells me that version 5.2 is available, but Creative Cloud desktop app shows the Lightroom 5 app as "Up to Date". Does the CC app not work well with LR5? Jim

  • Batch / script interface to cisco ise

    I have here a request from our customer in the client deployment. Looking for a way MAC addresses are pass through a programm whihc could then pass through to Cisco ISE. customer is looking for a document where the ISE interfaces are discussed. The a

  • ? An app similar to adobe flash player?

    Apple does not support adobe flash player for IPad - is there something else that is similar ?