Originally Posted by piyush128k
i do df -h and i see the file systems listed e.g.
[root@slcac810 /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 48G 2.9G 43G 7% /
/dev/sda1 190M 73M 108M 41% /boot
so i do this:- tune2fs -l /dev/mapper/d2vg-lv1 |grep /dev/sda
and it doe snot work.
Could you be kind enough to give me an example that i could understand. I believe i am probably doing something really stupid that it is not working
Obviously you have no "/dev/mapper/d2vg-lv1" device, so you getting an error.
You need to run
tune2fs -l /dev/sda2 | grep 'Filesystem created:'
it will show the filesystem creation date. In most cases this date is the date when system installation was started.