I have made a partition (slice with UEFI label) at: /dev/rdsk/c5t6d0s0
Now I write some data to the slice:
If I dump the disk contents I see the UEFI label and also my data at offset 0x5000:
But If I do the same dump at storage side (iSCSI target), I do not see my data written! I shutdown the SPARC/solaris machine and voila! the data is now there.
How can this be? Is Solaris caching my data in memory? How can I disable this?
Note: I tried to use sync but it did not help and anyway it is related to files in a file-system, which I do not have in my scenario.
P.S. My machine is a T5220 UltraSPARC T2 Server with Solaris 11.3
Moderator's Comments:
Please use code tags next time for your code and data. thanks
All UNIX from the beginning ( what made it superior to DOS...) used data buffers the write would never be direct, hence the famous but now obsoleted command sync...
The same is true when have to use fsck, depending what you would have to use special option to not get the result of command overwritten by the cache putting the FS back to previous state ( Dont remember now it so old ... if it were not a reboot without sync option...)
Hello All,
Our servers having emc clarion for the data disks. Is that possible to see those san disks raid level from AIX ?
Am having AIX 6.1 and EMC clarion 5.5.
Regards,
Gowtham.G (3 Replies)
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /
... (0 Replies)
Hello,
I'm creating a VM Image of Solaris 10 on VM Player. I've completed the installation & I am using the Java Desktop as my default logon. I need to modify the Run Level to Console Mode (permanently). Unlike previous versions or Linux, modifying inittab file is not an option here.
Please... (2 Replies)
Hi All,
In Solaris 9 and below
I will get the init run-level by checking the /etc/inittab entry
is:3:initdefault:
But in Solaris 10 we are using the smf functionality.
Here how I can get the init default run level.
Please help me in this problem.
Regards,
... (2 Replies)
As i understand, Patch is a fix to bug in a product.
What is patch level wrt to solaris OS ? How do i know the patch level of a machine ? I have task to compare patch levels of 2 machines running solaris (3 Replies)
i've gone through the sun docs as well as a Solaris Network Admin book.
while the book is fair, it lacks detail and i'm sure there are things it's missing on getting a caching only name server working.
as for the sun docs... what it has is really miserable. i can't make anything out of it.
... (4 Replies)
Linux uses hdparm to set these parameters, my question is: what tool uses BSD systems (FreeBSD/OpenBSD/NetBSD)? There is another thing which FreeBSD implements on their filesystems: softupdates. If I forgot to enable this option when I partitioned the disk, how could I enable it at a later time? (1 Reply)