The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Disk Space chrs0302 Shell Programming and Scripting 3 06-26-2009 11:46 AM
Where has my disk space gone? iBot UNIX and Linux RSS News 0 12-17-2008 10:20 AM
Disk Space Kingkon Shell Programming and Scripting 3 03-19-2008 11:02 AM
disk space kingsto88 Filesystems, Disks and Memory 3 12-06-2006 05:28 AM
available disk space on disk device??? alan UNIX for Dummies Questions & Answers 4 01-02-2004 03:06 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-18-2009
mrpogo07 mrpogo07 is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 2
Issue available disk space while using xdd

Good morning,

I seem to be running into an issue with some drives I have attached to my solaris server. The drives are attached correctly, the partitions are arranged with fdisk, the ext3 filesystem is setup using mkfs, and finally the drive is mounted.

When I use xdd to perform read/write operations, for some reason with writes in particular, the drives seem to lose track of how much space is available. Using df, I can see that there are about 50 GB available on these nearly empty drives but once I begin using a write with xdd, the drive size jumps to 11 TB and the used space jumps up to 11 TB as well.

I feel as though the xdd program may be altering the partition table of some sort and is ruining the tests I'm trying to gather. If anyone has experience with xdd and could lend some assistance it would be greatly appreciated.

The command for xdd I am executing is as follows:

xdd.linux -blocksize 262144 -datapattern random -seek random -reqsize 1 -op write -targets 1 /dev/sdb1 -deletfile -mbytes 10240 -csvout "10_write_ran_256_01.txt"

Thanks for the assistance and if you need more information please ask!
  #2 (permalink)  
Old 09-21-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,929
I'm fairly sure you're not supposed to run xdd on a mounted filesystem(or any data you care about)! My suspicions were raised the instant I noticed it took a device file instead of a mount path. The system will let root write to the partition raw with no regard to any filesystems. I've seen similar things happen when I accidentally ran mkswap on a mounted filesystem... Suddenly, minus 64 exabytes free.
  #3 (permalink)  
Old 09-21-2009
mrpogo07 mrpogo07 is offline
Registered User
  
 

Join Date: Sep 2009
Posts: 2
Got it, that would make sense. The data on the drives don't matter at all, these are just throughput tests.

I guess my other question would revolve around testing drives throughput when the drive is full of data and when it is empty. Is there a way to do so with xdd?
  #4 (permalink)  
Old 09-23-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,929
Quote:
Originally Posted by mrpogo07 View Post
Got it, that would make sense. The data on the drives don't matter at all, these are just throughput tests.

I guess my other question would revolve around testing drives throughput when the drive is full of data and when it is empty. Is there a way to do so with xdd?
The drive will have the same physical performance whether its sectors contain all zeroes, all ones, or random data. 'full' and 'empty' are abstract concepts that don't exist without a filesystem.
Reply

Bookmarks

Tags
df, disk, disk space, mount, xdd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0