will a new file be contiguous on my drive?


 
Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory will a new file be contiguous on my drive?
# 1  
Old 05-30-2009
will a new file be contiguous on my drive?

Say I am creating a new file on UNIX, how can I find out if it is contiguous on disk?

thanks
# 2  
Old 06-02-2009
Good question! On Linux's ext2/ext3 filesystem suite, there's a program called "filefrag" which will tell you the number of "extents" a file uses. It usually requires root access to run.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Drive is showing offline in the /var/adm/messages and shows "drive type unknown" in the format outpu

Hi, I am facing issue with one of the drive is solaris 10. it is showing offline in the messages file scsi: WARNING: /pci@2,600000/QLGC,qlc@0/fp@0,0/ssd@w5006016746e00b1b,0 (ssd0): drive offline genunix: WARNING: Page83 data not standards compliant DGC LUNZ 0430 ... (1 Reply)
Discussion started by: Prasanth T K
1 Replies

2. UNIX for Dummies Questions & Answers

Need help to move .csv file from UNIX path to windows shared drive or c:\ drive

Hi Guys, Can any one help me on this. I need help to move .csv/.xls file from unix path to windows shared drive or c:\ drive? Regards, LKR (1 Reply)
Discussion started by: lakshmanraok117
1 Replies

3. Shell Programming and Scripting

Finding contiguous numbers in a list but with a gap number tolerance

Dear all, I have a imput file like this imput scaffold_0 10558458 10558459 1.8 scaffold_0 10558464 10558465 1.75 scaffold_0 10558467 10558468 1.8 scaffold_0 10558468 10558469 1.71428571428571 scaffold_0 10558469... (5 Replies)
Discussion started by: valente
5 Replies

4. UNIX for Dummies Questions & Answers

How to replace a file on Unix server with file from my c: drive

I have a Logging.xml file located on my laptop c: drive. I want to take this file and replace the Logging.xml that is currently on my Aix 6.1 Unix server with it. Here is the where the file is located. It is the Logging.xml file ... (8 Replies)
Discussion started by: gregvc
8 Replies

5. Hardware

How to Clone a Drive with 512 byte Sectors to a Drive with 4096 bytes/sector (AF)?

I have a 320 GB drive which dual boots Windows and Debian: Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal):... (0 Replies)
Discussion started by: phillipsoasis
0 Replies

6. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

7. UNIX for Dummies Questions & Answers

Map Drive From Windows To Apache Shared Drive?

Anyone know how I can map a windows drive to an apache shared drive? In my httpd.conf file, I have: Alias /merc_rpts/ "/u/merc_rpts/" <Directory "/u/merc_rpts"> Options Indexes </Directory> I'm able to bring up a browser and see the contents of this folder. In... (0 Replies)
Discussion started by: gseyforth
0 Replies

8. UNIX for Dummies Questions & Answers

Calculating changes in non-contiguous data

I want to calculate day-to-day changes in a data set. In an ideal situation the following would suffice: Date x 2007-01-01 5 2007-01-02 8 2007-01-03 4 2007-01-04 3 2007-01-05 10 2007-01-06 10 2007-01-07 2 2007-01-08... (2 Replies)
Discussion started by: figaro
2 Replies

9. UNIX Desktop Questions & Answers

Copy a file from tape drive

Hi, How to copy a file (online.exp031204.tar.Z) from the tape drive /dev/rStp0 (2 Replies)
Discussion started by: rahmanm
2 Replies
Login or Register to Ask a Question