Suddenly can't create dirs or files!? "Bad file descriptor"

Tearing my hair out...
Suddenly, neither root nor users can create files or directories in directories under /home. Attempting to do so gets: Error -51 in Finder, "Bad file descriptor" from command line, and "Invalid file handle" via SMB.
However, files and dirs can be: read, edited, moved, and occasionally copied. Rebooting made no difference.
Anyone have a clue on where to start on this?
Mac OS X 10.3.9. Dual G4 XServe with 2 x 7 x 250 G XRAID.
Many   Mac OS X (10.3.9)   Many
Many   Mac OS X (10.3.9)   Many

Indeed. This whole episode has exposed rather woeful lack of robustness on the part of the X Server and XRAID... various things failing and server hanging completely as a result of a few bad files on disk.. with lack of useful feedback as to what was happening.
Best I can tell, we had reached the stage where the next available disk location for directory or file was bad... blocking any further additions.
I've embarked on the process of copying everything off, remove crash-provoking files, replace one bad drive (hot swap didn't work), erase all, perform surface conditioning (bad-block finding) procedure, and maybe later this century will be copying all files back.
Looks to me like the bad block finding procedure is finding a few bad blocks on the supposedly good drives... presumably will isolate those, but maybe we need to get more new drives.
Many   Mac OS X (10.3.9)   Many

Similar Messages

  • How can I create a array with all files from a directory

    How can I create a array of files or varchar with all files from a directory?

    I thought the example could be improved upon. I've posted a solution on my blog that doesn't require writing the directory list to a table. It simply returns it as a nested table of files as a SQL datatype. You can find it here:
    http://maclochlainn.wordpress.com/2008/06/05/how-you-can-read-an-external-directory-list-from-sql/

  • How can I creat or open an excel file in labview?

    I am using Labview 7.1 and report generation toolkit. I got the example code from this address :"Creating a report in Microsft excel using the labview report generation toolkit"
    But seems this example only can creat report when the excel file exist, otherwise it will get error code 7.
    How can I creat a new file if it doesn't exist and open the file if it exist? Can I creat a report without openning excel because I need to creat more than one report and check it after the test.
    Thanks

    Simply use the "Open/Create/Replace File.vi, and wire a constant "Create / Replace".
    Wire a path/filename and make sure the name ends with the extention .xls
    If you have multiple lines (likely), place aech line in an array and use the "Array to Spreadsheet String.vi" before sending it to "Write to file.vi". Don't forget to close the file.
    Hope this helps..
    JLV

  • Can we create a password protected .folio file.

    Hi,
    Is it possible to create a password protected .folio file, that could be read after password authentication from the Content Viewer iPad app.

    You currently cannot password protect the folio directly, however if you have DPS Enterprise Edition, you can use restricted distribution: http://www.adobe.com/devnet/digitalpublishingsuite/articles/restricted-distribution-with-d igital-publishing-suite.html

  • Can't connect on wired network - Bad file descriptor

    Hi everybody...
    I'm using wicd daemon and never had any trouble before... in fact, I can connect normally to other wired and wireless networks. But recently I stambled onto a network which I can connect on Windows normally, but on Arch, wicd log says the following:
    2009/09/15 21:01:12 :: Putting interface down
    2009/09/15 21:01:12 :: Releasing DHCP leases...
    2009/09/15 21:01:12 :: Setting false IP...
    2009/09/15 21:01:12 :: Flushing the routing table...
    2009/09/15 21:01:12 :: Putting interface up...
    2009/09/15 21:01:12 :: Running DHCP
    2009/09/15 21:01:12 :: dhcpcd: version 5.0.7 starting
    2009/09/15 21:01:12 ::
    2009/09/15 21:01:12 :: dhcpcd: eth0: rebinding lease of 192.168.0.194
    2009/09/15 21:01:12 ::
    2009/09/15 21:01:22 :: dhcpcd: eth0: broadcasting for a lease
    2009/09/15 21:01:22 ::
    2009/09/15 21:01:23 :: dhcpcd: eth0: offered 172.16.1.196 from 172.16.1.254
    2009/09/15 21:01:23 ::
    2009/09/15 21:01:23 :: dhcpcd: eth0: acknowledged 172.16.1.196 from 172.16.1.254
    2009/09/15 21:01:23 ::
    2009/09/15 21:01:23 :: dhcpcd: eth0: checking for 172.16.1.196
    2009/09/15 21:01:23 ::
    2009/09/15 21:01:23 :: dhcpcd: eth0: hardware address 00:00:5a:72:ef:5f claims 172.16.1.196
    2009/09/15 21:01:23 ::
    2009/09/15 21:01:23 :: dhcpcd: eth0: send_raw_packet: Bad file descriptor
    2009/09/15 21:01:23 ::
    2009/09/15 21:01:33 :: dhcpcd: eth0: rebinding lease of 192.168.0.194
    2009/09/15 21:01:33 ::
    2009/09/15 21:01:42 :: dhcpcd: timed out
    2009/09/15 21:01:42 ::
    2009/09/15 21:01:42 :: DHCP connection failed
    2009/09/15 21:01:42 :: exiting connection thread
    2009/09/15 21:01:42 :: Sending connection attempt result dhcp_failed
    I also tried to disable wicd and bring back the network daemon up, but I couldn't connect this way either. Any clues?
    Thanks a lot!

    I got the log from /var/log/everything... Here's what happens the I select the wired network on Wicd:
    Sep 16 21:12:27 leandro dhcpcd: dhcpcd not running
    Sep 16 21:12:28 leandro kernel: input: b43-phy0 as /devices/virtual/input/input14
    Sep 16 21:12:28 leandro kernel: b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
    Sep 16 21:12:28 leandro kernel: Registered led device: b43-phy0::radio
    Sep 16 21:12:28 leandro kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    Sep 16 21:12:28 leandro dhcpcd: dhcpcd not running
    Sep 16 21:12:28 leandro kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
    Sep 16 21:12:28 leandro dhcpcd: version 5.0.7 starting
    Sep 16 21:12:28 leandro dhcpcd: eth0: rebinding lease of 192.168.0.194
    Sep 16 21:12:38 leandro dhcpcd: eth0: broadcasting for a lease
    Sep 16 21:12:38 leandro dhcpcd: eth0: offered 172.16.1.196 from 172.16.1.254
    Sep 16 21:12:38 leandro dhcpcd: eth0: acknowledged 172.16.1.196 from 172.16.1.254
    Sep 16 21:12:38 leandro dhcpcd: eth0: checking for 172.16.1.196
    Sep 16 21:12:39 leandro dhcpcd: eth0: hardware address 00:00:5a:72:ef:5f claims 172.16.1.196
    Sep 16 21:12:39 leandro dhcpcd: eth0: send_raw_packet: Bad file descriptor
    Sep 16 21:12:39 leandro kernel: eth0: no IPv6 routers present
    Sep 16 21:12:49 leandro dhcpcd: eth0: rebinding lease of 192.168.0.194
    Sep 16 21:12:58 leandro dhcpcd: timed out
    Appreciate any help! I don't think this is a common problem because Google desn't return many results on "dhcpcd" and "bad file descriptor".
    Thanks!

  • How can I create an Install.exe(Application file)

    I need urgent help on how to create an Install.exe (Application file) for my java programs.
    I have compile the java file and run the programs within Jbuilder35 all worked well. I even created a single jar file for all the programs classes file. But my problem was how to create Install.exe (Application file) in other to be able to use it as an application in any computer.
    I mean, for example: Jbuilder35 was developed with java file, and I installed (JBuilder Install.exe, application file) in my computer before I could be able to use it. That is exactly what I dont know how to do it with my java programs that I developed. Any help please?.

    Use InstallAnywhere. They have a free trial addition.
    http://www.zerog.com/downloads_01.html

  • Can I create a low resolution pdf file?

    I have a 12 page document with a number of pictures which I wish to save as a PDF and upload to a website. In Pages when I export it as a PDF I get a choice of 'Good', 'Better' or 'Best' for image quality. Choosing 'Good' the resulting file is 8MB, rather too large for my liking. However when choosing 'Best' the resulting file size is still 8MB. So my questions are:
    1. What's the difference between these settings?
    2. Is it possible to create a PDF which reduces the image quality to screen resolution to make a smaller file?
    I'd be grateful for any help.

    Before you save to .pdf save your Pages document.
    +Menu > File Reduce File Size+
    This will trim all your images to their cropped size and lower their resolution to 72dpi.
    Create your .pdf using whichever of the settings you like.
    Open the .pdf in Preview .app and go
    +Menu > File > Save As… > Format: PDF > Quartz Filter: Reduce File Size+
    If you have Adobe Acrobat Pro
    +Menu > Document > Reduce File Size+
    or
    +Menu > Advanced > PDF Optimizer… > set the resolution and options to your liking+
    Peter

  • Include file - Bad file argument to include

    Hi,
    I have <%@ include file="includes/header.jsp" %> and it seems to be returning "Bad file argument to include" and i cannot work out why.
    Thanks

    Careful with full paths: It's a standard relative jsp path: See this explanation from the syntax reference:
    "If the relative URL starts with /, the path is relative to the JSP application's context, [...] . If the relative URL starts with a directory or file name, the path is relative to the JSP file. "

  • Can I create a "carousel mode" slideshow file for a customer?

    I've shown a customer the bridge review mode and now they want a version to use on their ipad.
    They don't have any Adobe products. Ipad so no flash.
    Can I use lightroom or similar to create something like review mode, but for use it outside of CC?
    THanks

    Creating a new file with the extension Filename_responses will not collect the previously distributed form data. If you have the original _responses file, try copying it back to the actual location. However, the information for the distributed forms are still saved in a file named "adhocWorkflow". The information inside this file  determines the distributed form data and other workflows.

  • Can't create dir for powernowd.

    I'm trying to install powenowd so I don't burn myself on the touchpad but when I'm launching powernowd it tells me:
    165715/home/riwa/# powernowd
    powernowd: PowerNow Daemon v0.97, (c) 2003-2006 John Clemens
    powernowd: Found 1 scalable unit: -- 1 'CPU' per scalable unit
    /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq: No such file or directory
    PowerNowd encountered and error and could not start.
    Please make sure that:
    - You are running a v2.6.7 kernel or later
    - That you have sysfs mounted /sys
    - That you have the core cpufreq and cpufreq-userspace
    modules loaded into your kernel
    - That you have the cpufreq driver for your cpu loaded,
    (for example: powernow-k7), and that it works. Check
    'dmesg' for errors.
    If all of the above are true, and you still have problems,
    please email the author: [email protected]
    So I try to create a dir in order to create the file later on:
    170605/home/riwa/# mkdir /sys/devices/system/cpu/cpu0/cpufreq
    I have root access so I guess it's either a symlink or something. However, I have no experience with links (nor getting refused as root). I also don't know if I have sysfs mounted on /sys. Help appreciated.

    You do not need to create by hand dir and files in /sys.
    Just try the two modules for k7 and k8 and those files will appear automagically when you load the correct one (I think k7, but I am not sure: just try, it is harmless).
    You need to list it in autoload in /etc/rc.conf, since the udev daemon does not load automatically the cpufreq modules

  • Can't create repository - zero byte log file?

    Hello all,
    I'm getting the 'CDR-21244 : This process has been aborted' message when creating the repository in a 10g database using Designer 10g ( 9.0.4.5). I get identical results with Designer 9i (9.0.2.7). I've checked the installation log file, according to the documentation, and it contains zero bytes. The IMP.EXE window doesn't say anything unusual, it simply reports a couple of possible character conversions and then terminates before doing anything.
    None of the suggested solutions to this error from the Repository Installation Guide seem to apply to me:
    * I have all the proper permissions and settings according to the 'check requirements' dialog
    * I don't have anything in my log file
    * The IMP.EXE utility is installed
    * TNSNAMES.ORA seems fine since I can connect to this database using TOAD
    Has anyone else seen this?
    I'm using Windows XP, by the way.
    Thanks.

    Hi,
    Can you please give us the following information :
    1. Both Designer 9.0.4.5 and 10g Database are installed in same machine or different machines.
    2. Version of Export/Import utilities used by Designer
    3. Value in the registry variable 'REPOS61'
    Steps to get the registry value
    a. Invoke and connect to 'Repository Administration Utility'.
    b. Invoke 'Check Requirements' utility.
    c. Expand 'Parameter Settings' node and '[HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\REPOS61\]' node.
    d. Note the values for 'EXECUTE_EXPORT', 'EXECUTE_IMPORT', 'EXECUTE_PLUS_RAU' variables.
    4. Version of Database.
    Regards,
    Wilson.

  • How can I create my own iTunes music file?

    I have an iPhone and want to put music on it. My son has created an iTunes application on our home computer and has dowloaded all his songs to it. I thought all I would have to do is to create a new user name or folder for my music and dowload away, but it does not appear to be that simple - or maybe I am simple! I created a new file and downloaded some music I had purchased from iTunes into the folder, but somehow all the songs went into my son's folder. Is there an easy way to to this so I can keep my music separate from his? Thanks!

    Dooxe wrote:
    Apparently classes like SoundbankResource and Instrument in the javax.ssound.midi package allow us to do that but I don't really understand how they work.The way the code is structured...
    A Soundbank is a set of Instrument and/or SoundbankResource (An Instrument is a type of SoundbankResource and is just a subclass)
    A SoundbankResource appears to be a class that contains either
    (1) Intruments
    (2) Sampled audio data
    (3) MIDI Sequence data
    Regardless of what the SoundbankResource provides, all it is is a wrapper around some sort of data object. It's job, in essense, is to return whatever it is holding in response to a getData() request.
    In order to utilize a SoundbankResource, you'd have to wrap around an object that whatever Synthesizer you're using is capable of playing.
    Probably the easiest way to implement your own custom Soundbank without using a soundbank editor (which may or may not work with JavaSound's engine when all is said and done) would be to write a custom Synthesizer that plays short WAV files, and build SoundbankResource objects to wrap around said short WAV files.

  • Can I create separate events for RAW files and JPEG files of the same photo?

    I recently changed the setting on my camera to take both a RAW and JPEG image.  I now have a large number of photos in both formats in the same event. I'd like to separate all the RAW and JPEG photos into separate events.  Is it possible to do this in a batch process versus trying to move individual files?  I use iPhoto '11, version 9.4.3.
    Thanks,
    Peter

    Yes.  Create a smart album with the criteria Photo is RAW:
    Then you can select all of the photos in the smart album and use the Events ➙ Create Event menu option to move all of the RAW photos into a new event.
    OT

  • Can we create a Password Protected Zip file

    Hi,
    Can we set a password to a zip file using java code.
    This zip file may be extracted / opened using any third party utility such as Winzip, 7Zip etc
    Thanks In advance
    Regards

    Java can create zip files but cannot do password protection. You need to use some native java library or JNI calls. Refer to [http://forums.sun.com/thread.jspa?threadID=619940] or [http://code.google.com/p/winzipaes/]

  • Can I create a xml or text file?

    Hi,
    I would like to be able to create a text file or xml file
    using users input(this is not for a web site so do have server
    capabilities)
    The file will be smiler to this with the user input in {}
    Thanks for all your help

    Hey there,
    Flash being a web based application doesnt allow writing any
    files other than temp cookies or the ASO files. Now these files are
    useless for the medium you are describing here.
    Due to security reasons flash doesnt support XML/Text
    writing, but has very good support on the reading XML/Text file. If
    you are using the idea for a website then, maybe PHP, ASP along
    with SQl might help you save data from flash to a database. And if
    you have ideas of keeping this idea desktop based, maybe you can
    use MDM Zinc, even PHP, or Visual Studio (where ExternalCallbacks
    can be used).
    You can decide.

Maybe you are looking for