How to use second volume devide of amazon EC2
        Posted  
        
            by 
                Khoyendra Pande
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by Khoyendra Pande
        
        
        
        Published on 2012-01-04T12:27:36Z
        Indexed on 
            2012/06/11
            10:42 UTC
        
        
        Read the original article
        Hit count: 341
        
debian
|amazon-ec2
I have two volumes of amazon EC2 where by default 1 GiB volume using which has fulled.
Now I want to use my second volume which is 9 Gim.
I used command cat /proc/partitions
I got major minor  #blocks  name
202        1    1048576 xvda1
202       80    9437184 xvdf
Then I hit mkfs.ext3 -F /dev/sdf
its showing 
mkfs.ext3: No such file or directory while trying to determine filesystem size
then I hit command df
and I got
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/xvda1             1032088   1031280         0 100% /
tmpfs                   313160         8    313152   1% /lib/init/rw
udev                    297800        24    297776   1% /dev
tmpfs                   313160         4    313156   1% /dev/shm
overflow                  1024        32       992   4% /tmp
means still I am unable to use my 9 GiB space Volume.
I am conform I have two volume where attachment information is 
i-7e4fb41c:/dev/sda1 (attached) and i-7e4fb41c:/dev/sdf (attached)
where only sda1 is using.
Any one know how may I use my second volume(sdf). Thx 
© Server Fault or respective owner