This is a discussion on WTF ?? umount and format but files still there within the comp.unix.solaris forums, part of the Solaris Operating System category; --> I have 2 disks in my Sol 9 system. Needed to reformat the 2nd (non-root) disk which had 1 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I have 2 disks in my Sol 9 system. Needed to reformat the 2nd (non-root) disk which had 1 partition that was mounted as /export/home0 I did : 1. umount /export/home0 2. checked mnttab to make sure umount worked 3. run format Just for shits, I tried to cd to /export/home0 and guess what ??!!! All the old files are still there. Does Solaris cache mounted systems somewhere ?? I will reboot later in the day and would imagine that there should be no data on that disk. |
| |||
| In article <1191530138.531110.43930@d55g2000hsg.googlegroups. com>, markg9@yahoo.com writes: > I have 2 disks in my Sol 9 system. > > Needed to reformat the 2nd (non-root) disk which had 1 partition that > was mounted as /export/home0 > > I did : > > 1. umount /export/home0 > 2. checked mnttab to make sure umount worked > 3. run format > > Just for shits, I tried to cd to /export/home0 and guess what ??!!! > All the old files are still there. Maybe they were there beforehand, underneath the mount point. Not really enough info to go on. -- Andrew Gabriel [email address is not usable -- followup in the newsgroup] |
| |||
| markg9@yahoo.com schrieb: > I have 2 disks in my Sol 9 system. > > Needed to reformat the 2nd (non-root) disk which had 1 partition that > was mounted as /export/home0 > > I did : > > 1. umount /export/home0 > 2. checked mnttab to make sure umount worked > 3. run format > > Just for shits, I tried to cd to /export/home0 and guess what ??!!! > All the old files are still there. > Does Solaris cache mounted systems somewhere ?? I will reboot later in > the day and would imagine that there should be no data on that disk. > what means "are there", can you open the files? what means run format, running format do nothing to disks ;-)? Have the files the same inode number than bevor? Did you mkfs and mount after formating and newfsing? which FS do you use? Wolfgang |
| |||
| markg9@yahoo.com wrote: > Just for shits, I tried to cd to /export/home0 and guess what ??!!! > All the old files are still there. > Does Solaris cache mounted systems somewhere ?? I will reboot later in > the day and would imagine that there should be no data on that disk. cd /export/home0 df -k . What is reported? If it's '/' (or '/export'), then I presume the files are there on that disk and they're separate from the files that were on the unmounted disk. Maybe remount your disk (read-only, on another mount point) and see if the timestamps are the same. -- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > |
| |||
| On Thu, 04 Oct 2007 13:35:38 -0700, markg9 wrote: > I have 2 disks in my Sol 9 system. > > Needed to reformat the 2nd (non-root) disk which had 1 partition that > was mounted as /export/home0 > > I did : > > 1. umount /export/home0 > 2. checked mnttab to make sure umount worked > 3. run format FYI, Solaris format does not create any new filesystems. It is somewhat similar - although hardly identical - to MSDOS fdisk. Create filesystems using mkfs(1M) or newfs(1M). > Just for shits, I tried to cd to /export/home0 and guess what ??!!! All > the old files are still there. Did you first mount /export/home0 before changing directory? |
| |||
| markg9@yahoo.com wrote: > I have 2 disks in my Sol 9 system. > > Needed to reformat the 2nd (non-root) disk which had 1 partition that > was mounted as /export/home0 > > I did : > > 1. umount /export/home0 > 2. checked mnttab to make sure umount worked > 3. run format > > Just for shits, I tried to cd to /export/home0 and guess what ??!!! > All the old files are still there. > Does Solaris cache mounted systems somewhere ?? I will reboot later in > the day and would imagine that there should be no data on that disk. The other possibility that no one has mentioned here. Are you _absolutely_ sure that the disk was (originally) mounted at /export/home0? Colin |
| ||||
| <markg9@yahoo.com> wrote in message news:1191530138.531110.43930@d55g2000hsg.googlegro ups.com... >I have 2 disks in my Sol 9 system. > > Needed to reformat the 2nd (non-root) disk which had 1 partition that > was mounted as /export/home0 > > I did : > > 1. umount /export/home0 > 2. checked mnttab to make sure umount worked > 3. run format > > Just for shits, I tried to cd to /export/home0 and guess what ??!!! > All the old files are still there. > Does Solaris cache mounted systems somewhere ?? I will reboot later in > the day and would imagine that there should be no data on that disk. > I guess you did not need to change the disk layout? You didn't say much but that you ran format. If you simply deleted the partition by zeroing out the slice and then putting the same start and end block, you did nothing. If you need to "reformat" the partition as fresh, did you run "newfs"? This is of course assuming that you are using a "ufs" filesystem. |