[SOLVED] Log hard drive read/writes

Is it possible to monitor everytime a file on the hard drive is read from or written to and to add that information to a log?
Last edited by Chris Denton (2010-07-25 10:32:57)

Thanks. That seems to be working quite well.
One problem though, I notice I have to exclude /dev (otherwise it seems to get stuck in a loop like fukawi2 mentioned). This does raise a question though, I notice that it isn't actually accessing the physical disk when this happens, so I wonder, is there a way to tell it to only include events that occur on the disk?

Similar Messages

  • G710 hard drive read/write speed

    Hello,
    I have a brand new Ideapad G710  with 1TB Serial ATA 2, 5400rpm with advertised speed of 3 Gb/s (= 384MB/s).
    I am running Windows 7 ultimate x64 with SP1.
    When I test hard drive read/write speed (I used CrystalDiskMark) I get results of about 100MB/s, which is 3-4 times slower than it should be.
    I am not running any resource heavy applications (Resource monitor reports Disk I/O to be 0 most of the time in idle state). I have 3 partitions, each with 16-32GB paging file size and all are >90% empty. All partitions have been defragmented before testing.
    Is this normal? Are there any lenovo drivers or utilities than I might be missing or that can slow/speed this?
    Solved!
    Go to Solution.

    hi Daew,
    Welcome to the Lenovo Forums.
    The results that you got while running CrystalDiskMark is normal. The SATA 2 (3Gb/s) that you mentioned is actually the SATA interface support, not the actual read/write performance.
    If you have a Seagate HDD (eg. ST10000LM024), check these specs
    From the above specs, the unit has a cache that has a read/write max speed of 145 MB/s but there are environmental factors and power requirements to get this speed (eg. read/write speed on AC power is differente from battery power).
    AFAIK, if this is the specs that is design for this drive, there's no way to speed it up.
    If you're planning to upgrade in the future though, you can get an SSD for faster read/write.
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • Make external hard drive read/write

    Not quite sure if there is in the right section but oh well.
    Here's the story:
    SeaGate FreeAgent GoFlex Drive (1.5TB) (THE FOLLOWING INFO WAS TAKEN FROM ITS APPLICATION: ("SEAGATE DRIVE SETTINGS")
    Drive Info
    Model: FA GoFlex Desk
    Firmware: 0D19
    Volume Info
    Format: Windows NT Filesystem
    Capacity: 1397.26 GB
    Available: 1224.35 GB
    Used: 172.91 GB
    Mount point: /Volumes/FreeAgent GoFlex Drive
    So it seems to slow down my iMac (10.6.8), 2GHz Intel Core 2 Duo, 1.5GB 667 MHz DDR2 SDRAM (memory) (1st Generation 17 inch) a fair bit. Could this be because of the Format? I have no idea why it says that. When I first installed it, it asked what OS I'm going to use it for. Not quite sure if I chose both or just Mac. But those files have somehow dissappeared.
    Now in Disk Utility...the RAID tab, Format says it is set to Mac OS Extended (Journaled) but then in the Erase tab it says Format: Windows NT Filesystem
    Which format is it set to!?!?!?!?!?!?!
    Now to the main point:
    I also have a new 13" MacBook Pro. When I plug it into it, I only have Read Permissions. How do I make it have Write Permissions as well?
    Sorry for the long essay...I hope you can help me. I might have two problems here.
    1. Is the format correctly set up for my iMac?
    2. How do I set it to have Read/Write permissions on different computers?
    Thanks.

    The Format is incorrect for Mac use, as you guessed.  Go into Disk Utility again, highlight the external har drive in the left hamd column by clicking on it and select the "Erase" tab, up and over to the right.  Then select the Format below that will be installed as "Mac OS Extended (Journeled)".  THEN, OK the erasure.  That should clear things up.
    Note: your Windows PC will NO LONGER be able to read the external hard drive.  It will be formatted for OS X use.
    Hope this helps

  • Hard drive read/write problems

    I have three external hard drives connected to my iMac that are always on with the computer. Just recently, I started having trouble with permissions. Every day I have to go into disk utility and click "verify disk" to be able to write to the drive, if I don't do that then I can only read the drive. It's the same with all three of them! This just started a couple of weeks ago. What is wrong?
    Oh! My recollection recalls that a couple of weeks ago upon starting the iMac one morning, one of my hard drive's name, as well as a .iso file that I have on my desktop, were totally wacko. Full of numbers and characters, etc. I'm wondering if my HD problem is caused from this?
    I desperately need some help!

    if running "verify disk" helps at all it's definitely not a permissions problem. it's a file system problem. when system detects a serious file system problem when mounting an external drive it will mount it as a read only file system. run "repair disk", not "verify disk" using disk utility on all the drives involved. see if that helps. and are there any errors when you run it?

  • Hard drive read/write question

    Hi,
    I purchased this mac pro(2008) with the stock seagate 320gb hard drive (model ST3320820AS_P) and I am interested to know what kind of read write numbers to expect from this drive.
    I am having a tough time trying to find any numbers that aren't in reference to RAID setups, and became concerned that this drive might be working at peak performance due to firmware issues others are talking about.
    (tangent - I would like to add more drives, but am on the fence for WD or seagate)
    System Info
    Xbench Version 1.3
    System Version 10.5.2 (9C31)
    Physical RAM 2048 MB
    Model MacPro3,1
    Drive Type ST3320820AS_P
    Sequential 92.82
    Uncached Write 70.70 43.41 MB/sec [4K blocks]
    Uncached Write 110.35 62.43 MB/sec [256K blocks]
    Uncached Read 82.04 24.01 MB/sec [4K blocks]
    Uncached Read 129.89 65.28 MB/sec [256K blocks]
    Random 33.16
    Uncached Write 11.33 1.20 MB/sec [4K blocks]
    Uncached Write 73.50 23.53 MB/sec [256K blocks]
    Uncached Read 88.77 0.63 MB/sec [4K blocks]
    Uncached Read 134.04 24.87 MB/sec [256K blocks]

    http://www.barefeats.com/hard94.html
    http://www.barefeats.com/quad07.html
    http://www.barefeats.com/quad08.html
    750GB WD SE16 $168 is hard to beat.
    I saw some systems came with WD 320GB. Guess Apple is using both for now.

  • Hard drive read write speeds are too slow

    I was having an issue with 17inch macbook pro. was getting 4.0mb/s read write speed tops. and smart status failure.
    So i replaced the drive. The new drive is a 7200 RPM 500GB WD drive. I'm getting 12.0mb/s on top speed. Computer feels a little quicker but still slow overall.
    I ran this test on a fresh install of snow leopard.
    Is it just me or do those read/write speeds on the new drive still seem slow?
    2007 17inch macbook pro with 2gigs of ram.

    That does seem slow - on the other hand, what are you using to measure it?
    My 1Tb 2.5" SATA drive performance shows as follows: http://grab.by/7zau
    Xbench Stats: http://grab.by/7zau
    Anything in System Profiler? http://grab.by/7zaR
    Link Speed at 3 Gb?

  • I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    I am moving from PC to Mac.  My PC has two internal drives and I have a 3Tb external.  What is best way to move the data from the internal drives to Mac and the best way to make the external drive read write without losing data

    Paragon even has non-destriuctive conversion utility if you do want to change drive.
    Hard to imagine using 3TB that isn't NTFS. Mac uses GPT for default partition type as well as HFS+
    www.paragon-software.com
    Some general Apple Help www.apple.com/support/
    Also,
    Mac OS X Help
    http://www.apple.com/support/macbasics/
    Isolating Issues in Mac OS
    http://support.apple.com/kb/TS1388
    https://www.apple.com/support/osx/
    https://www.apple.com/support/quickassist/
    http://www.apple.com/support/mac101/help/
    http://www.apple.com/support/mac101/tour/
    Get Help with your Product
    http://docs.info.apple.com/article.html?artnum=304725
    Apple Mac App Store
    https://discussions.apple.com/community/mac_app_store/using_mac_apple_store
    How to Buy Mac OS X Mountain Lion/Lion
    http://www.apple.com/osx/how-to-upgrade/
    TimeMachine 101
    https://support.apple.com/kb/HT1427
    http://www.apple.com/support/timemachine
    Mac OS X Community
    https://discussions.apple.com/community/mac_os

  • How can i format my external hard drive to write files from Mac without loosing the files that i alredy have on my external hard when i used it with windows?

    How can i format my external hard drive to write files from Mac without loosing the files that i alredy have on my external hard when i used it with windows?
    I have been using Windows to write files to my 1TB WD external hard drive and I do not want to format to loose the files capacity of around 500GB
    Someone, Please help

    Hi Allen,
    Is there any way to store the back up to Mac and restore after formating?

  • I have an external hard drive from my time capsule that stopped working on me. I am attempting to access the data with a hard drive reader on my MAC. I am able to see the drive in disk utility and under system info USB. But I am unable to access the data.

    I have an external hard drive from my time capsule that stopped working on me. I am attempting to access the data with a hard drive reader on my MAC. I am able to see the drive in disk utility and under system info USB. But I am unable to access the data and it does not show on the desktop when connected.

    Ok if disk utility was able to verify the drive I doubt there is any problem.. are you trying to open a TM backup??
    You need to mount the sparsebundle then check the actual info inside the bundle.
    Don't use disk warrior.. if the disk has verified then unless you deliberately deleted files there is nothing that is going to do.
    Pondini has a lot of stuff about getting access to the sparsebundle.
    http://pondini.org/TM/17.html
    But if you have copied info to the TC that is now gone.. and the disk is ok.. I am not sure.. the TC will not have deleted the files itself.

  • How do I use migration assistance with hard drive reader for dead macbook

    Hi,
    My old mac laptop died without warning.
    I took it to the apple store and they suggested getting a hard drive reader and using that to transfer
    across my files.
    I've connected it up and have requested the migration assistant to transfer the files. Last night it
    said it would 27 hours to transfer and now this morning it is saying 72 hours. This seems to
    be a very long time - is it correct? Can I make it go faster or is there another way?
    I've got a bit of music on there but nothing excessive. I do have about 15,000 photos though.
    I'm not very techy so any assistance would be very helpful
    Thanks
    Sarah

    Hi, that's far to long, unless maybe it's USB1.1 speed.
    If USB2 or Firewire, I'd start ober & try Disk utility>Repair Disk on the external drive.

  • My ipad3 will not turn on except to display the following[NAND] _FindFlashMediaAndKerpout:429 physical NAND block offset 16  [NAND] start:220 this 0xa015cc00 PROVIDER=0x9ed20080 flashMedia=0x9ed20080  [NAND] WMR_Start:149 Apple PPN NAND Driver, Read/Write

    Help. My ipad will not boot up except to show the following message.
    [NAND] _FindFlashMediaAndKerpout:429 physical NAND block offset 16
    [NAND] start:220 this 0xa015cc00 PROVIDER=0x9ed20080 flashMedia=0x9ed20080
    [NAND] WMR_Start:149 Apple PPN NAND Driver, Read/Write
    Ideas? Help

    Hi, my ipad 2 just got the same problem and after reading all relative post, finnally i figrue it out, that is no software issue at alll just hardware,
    I did attemp replace the power button cable on my ipad so i must disconnect the back camera cable so there is my problem. Because the connect some how not exact in place, i took the camera out and the issue is gone. So, in your case, if you did try to replace anything look at them again or you just take them out one by one and reboot ipad until it work.
    Hope this help
    Binh

  • [SOLVED] Strange Hard Drive Errors - Read Only Filesystem?

    Solution: Discard old laptop, buy new laptop
    I have an Acer Aspire 5103WLMi. For about 2 months now, Arch has been running smoothly. Until 2 weeks ago.
    It all started when I tried to install and configure autofs on Arch x86_64. On the next reboot, all manner of errors were printed to the screen, to the effect that the internal hard drive was only being mounted read-only, rendering the system unusable. I tried to find a solution, but there were no references to read-only anywhere; fstab, grub etc. None that I could find.
    I tried reinstalling. However, x86_64 Arch refused to boot properly first time due to the exact same error; and I *know* that I'm configuring everything correctly. I managed (somehow) to coerce i686 Arch to install, and things "work".
    Seemingly out of the blue, during normal operation, all running applications will stop, and spit out error after error to the effect of "Cannot Write to Read Only Filesystem!". Sakura won't load (Input/Output error, apparently), and the only way to shut down the laptop is a hard reset (I can't log in as root or use sudo because it wants to write to the filesystem first, which it obviously can't.
    Now, I'm going to be giving the insides of this laptop a good cleanout this weekend, and I'm in the process of backing up all of my data, but I was wondering if anyone else has come across a similar form of misbehaviour; or (with a bit of luck) some potential solutions?
    This is very peculiar, because there seems to be no reason why the laptop suddenly loses write permissions to the hard drive. Cheers.
    Edit: I think I should point out that my /boot partition is Ext2, and / and /home are Ext3
    Last edited by aphirst (2013-03-27 14:51:38)

    Smartctl gives me the impression it's my Hard Drive:
    SMART Attributes Data Structure revision number: 16
    Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
    1 Raw_Read_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
    2 Throughput_Performance 0x0005 100 100 050 Pre-fail Offline - 0
    3 Spin_Up_Time 0x0027 100 100 001 Pre-fail Always - 1711
    4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 6194
    5 Reallocated_Sector_Ct 0x0033 100 100 050 Pre-fail Always - 0
    7 Seek_Error_Rate 0x000b 100 100 050 Pre-fail Always - 0
    8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
    9 Power_On_Hours 0x0032 092 092 000 Old_age Always - 3291
    10 Spin_Retry_Count 0x0033 223 100 030 Pre-fail Always - 0
    12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 1218
    192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 294
    193 Load_Cycle_Count 0x0032 088 088 000 Old_age Always - 123904
    194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 34 (Lifetime Min/Max 15/62)
    196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
    197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
    198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
    199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 17
    220 Disk_Shift 0x0002 100 100 000 Old_age Always - 118
    222 Loaded_Hours 0x0032 094 094 000 Old_age Always - 2425
    223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 0
    224 Load_Friction 0x0022 100 100 000 Old_age Always - 0
    226 Load-in_Time 0x0026 100 100 000 Old_age Always - 444
    240 Head_Flying_Hours 0x0001 100 100 001 Pre-fail Offline - 0
    Everything being either Old_age or Pre-fail is not encouraging. Additionally, in the output is what I believe to be records of what caused my strange read-only behaviour:
    Error 19 occurred at disk power-on lifetime: 3287 hours (136 days + 23 hours)
    When the command that caused the error occurred, the device was active or idle.
    After command completion occurred, registers were:
    ER ST SC SN CL CH DH
    84 51 01 11 18 6a e1 Error: ICRC, ABRT 1 sectors at LBA = 0x016a1811 = 23730193
    Commands leading to the command that caused the error were:
    CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
    c8 00 48 c4 17 6a e1 00 04:43:08.023 READ DMA
    c8 00 48 14 e3 69 e1 00 04:43:08.022 READ DMA
    c8 00 a0 5c e2 69 e1 00 04:43:08.010 READ DMA
    c8 00 08 9c e5 69 e1 00 04:43:08.010 READ DMA
    c8 00 20 5c e5 69 e1 00 04:43:08.009 READ DMA
    Could this truly be referring to my problem, since the 'logs' show that the *exact same* error occurred many times.
    Not that this tells me how to fix it...
    Well, if anyone knows if there is a solution, I'd love to know. If the only solution is to ditch the Hard Drive, fair enough. Either way: I'm backing up all of my important data ASAP.
    Cheers.
    Oh, and kclive18, after I noticed that I couldn't get onto my Drive, I reinstalled arch, leaving no trace of /etc/autofs/auto.media.
    Additionally, somehow I have now been able to install Arch x86_64, but the problems still occur...

  • Why is external hard drive read-only on one Mac, but read/write on another?

    I have a Seagate Backup Plus Portable Drive.  I bought it to be compatible with both Windows and Mac, which it currently is.  It works just fine on my PC and my MacBook.  However, recently, I bought a MacBook Pro.  The Seagate drive shows up as read only on the MacBook Pro, though it is read/write on my MacBook.  It's formatted NTFS, yes, but it already works on my MacBook.  What's going on here?

    Nope, one of the selling points of the drive was that it came ready to work with both Mac and Windows (the product description says there is an NTFS drive installed for use on Mac).  No hacking or installing on my part.
    But I think I figured it out.  Apparentely, Mavericks comes installed with something that does not allow it to write NTFS no matter what (well, unless you go through a whole bunch of technical stuff to rewrite the software).  My old MacBook was Leopard.
    I'll just reformat the external hard drive for Mac, and if I ever need to use it on a Windows, I'll install HFS+ Explorer on the Windows.  Oh well.

  • Can only read external hard drive, not write to

    Hi
    I have a Mac Book Pro and a 60GB external Hard Drive which I use to transfer files between my Win PC (!!) and my Mac. transferring files from PC to Mac is fine using the HDD but when I try to copy files from my Mac to the HDD it says I cannot write to the drive as it is read only. How do i make it writable as well as readable. Its formatted as Windows NT Filesystem if that helps.

    mp_photo wrote:
    Its formatted as Windows NT Filesystem if that helps.
    Hi,
    that is the culprit.
    Mac OSX is only capable of reading from NTFS drives but can not write to them.
    Possible solutions:
    Reformat the external drive to FAT32 (using Disk Utility and 'MS-DOS'),
    but be aware of the the size limit of 4GB for a single file
    use MacFuse: http://code.google.com/p/macfuse/
    Caution: reformatting the drive will delete all files on it, so make a backup before.
    Regards
    Stefan

  • Second hard drive says write-protected

    I've got a new 2008 enterprise terminal server. I've installed all my apps to the 2nd hard drive. Now for no reason, I can't write to the drive and my apps can't either as they all crash as soon as they need to.
    I get this exact error when simply trying to create a directory in the root of the drive:
    "The disk is write-protected.
    Remove the write-protection or use another disk."
    I'm logging in as the local admin, domain admin makes no diff. I've also given full permissions to "everyone" with no luck. How the heck can I fix this bugger?

    It could be that the ReadOnly flag is on, do the following
    on cmd prompt launch "diskpart.exe"
    on the diskpart prompt, do the following
    LIST DISK 
    This will give you a list of all disks in your system
    Note down the number of your problem disk, then do the folloiwng
    SELECT DISK x 
    Where x is the number of your problem disk, then do the following
    DETAIL DISK 
    This will list all the details of your problem disk
    Check if the ReadOnly flag is set to Yes
    If the ReadOnly flag is set to Yes, do the follwing
    ATTR DISK CLEAR READONLY 
    This should clear the flag on the disk, please retry your disk operations
    If ths does not solve it, we have another flag on the volume, same command, but now on volume:
    LIST VOLUME  
    SELECT VOLUME x  
    DETAIL VOLUME  
    ATTR VOLUME CLEAR READONLY 
    HTH,
    Edwin.

Maybe you are looking for