Archive for the ‘Storage’ Category


Command to find out when (Time & Date) i connected HDD or added HDD in Linux Box

[root@vm1 ~]# ll /dev/sd*
brw-rw—- 1 root disk 8,  0 Mar  8 11:03 /dev/sda
brw-rw—- 1 root disk 8,  1 Mar  8 11:03 /dev/sda1
brw-rw—- 1 root disk 8,  2 Mar  8 11:03 /dev/sda2
brw-rw—- 1 root disk 8, 16 Mar 13 07:42 /dev/sdb

Advertisements

Hi this is one of interesting interview question i faced first time .. User wants extend only physical volume.

Example :

I have 10G /demo partition ..actual disk is /dev/sdb1 as LVM partition. VM level i have extended 20G .. Same /dev/sdb1 wants to  extend.. I don’t want create new one and extend again.

2

1

3

Now VM Level i have extended extra 10G

4

8

5

6

9

10

11

 

 


EXT2 to EXT3

c1 c2

c3 c4

c5

EXT3 to EXT4

c6 c7 c8 c9 c10


cc

Screenshot_1

Screenshot_2


Screenshot_13

Screenshot_14

Screenshot_15

Screenshot_16

Howto find Block size in Linux

Posted: September 30, 2013 in Block Size, Storage

Screenshot_11

Screenshot_12


Check Reserved Space Count

Screenshot_8

Clear/Reset Reserved Space Zero

Screenshot_1

Screenshot_2

Screenshot_3

Reset Reserved Space to % 

Screenshot_5

Screenshot_6

Screenshot_7