New answers tagged disk
It is possible that the Solaris 10 OS is installed on a ZFS root pool. If so, try zpool list and/or zpool import. If you want to import a pool with an alternate root try zpool import -R /alt <pool>
fsync already does this for the file in question (write thru to disk), but it does not guarantee this for the directory. This requires an extra fsync-call.
Read data is (directly) read from the cache only if it is already there. That implies that cached data was previously accessed by a process and kept in cache. There is no system call or any method for a process to know if some piece of data to be read is already in cache or not. On the other hand, a process can select if it wants written data to be ...
I found a solution: A program called kpartx, which is a userspace program that uses devmapper to create partitions from loopback devices, which works great: $ loop_device=`losetup --show -f /dev/sdg` $ kpartx -a $loop_device $ ls /dev/mapper total 0 crw------- 1 root root 10, 236 Mar 2 17:59 control brw-rw---- 1 root disk 252, 0 Mar 2 18:30 loop0p1 ...
Run sadc with the XDISK option and it collects filesystem usage data.
Top 50 recent answers are included