LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Root filesystem is full so unable to mount the second device (https://www.linuxquestions.org/questions/linux-newbie-8/root-filesystem-is-full-so-unable-to-mount-the-second-device-933568/)

smilemukul 03-09-2012 04:16 AM

Root filesystem is full so unable to mount the second device
 
Hi,
My root filesystem is 100% full & I had added a new disk as /dev/sdc
but not able to mount the second device as shown,

[root@redhat01 /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.8G 3.8G 0 100% /
/dev/sda5 12G 159M 11G 2% /home
/dev/sda1 46M 11M 33M 24% /boot
tmpfs 506M 0 506M 0% /dev/shm


[root@redhat01 /]# fdisk -l

Disk /dev/sda: 19.3 GB, 19327352832 bytes
255 heads, 63 sectors/track, 2349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 6 48163+ 83 Linux
/dev/sda2 7 515 4088542+ 83 Linux
/dev/sda3 516 776 2096482+ 82 Linux swap / Solaris
/dev/sda4 777 2349 12635122+ 5 Extended
/dev/sda5 777 2349 12635091 83 Linux

Disk /dev/sdb: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 609 4891761 8e Linux LVM

As my root filesystem is full so where to make the mountpoint for the second device.

acid_kewpie 03-09-2012 04:21 AM

how abuot you make the root filesystem NOT full? That's probably a good place to start. there has to be something you can get shot of?

Either way though, a full filesystem won't stop you mounting something on it. Actual error messages would be useful here.

EDDY1 03-09-2012 04:30 AM

Gparted-live-cd resize / by taking space from /home

smilemukul 03-09-2012 04:51 AM

I had mounted the second device partition, /dev/sdb1 as,

[root@redhat01 /]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.8G 3.8G 0 100% /
/dev/sda5 12G 159M 11G 2% /home
/dev/sda1 46M 11M 33M 24% /boot
tmpfs 506M 0 506M 0% /dev/shm
/dev/sdb1 4.6G 9.4M 4.4G 1% /disk2

but the mountpoint is created under root filesystem as /disk2 so second device (/dev/sdb1) space will be used or root filesystem (/dev/sda2) filesystem space will be used in my case.

acid_kewpie 03-09-2012 04:53 AM

erm... what? What are you actually trying to achieve? Is this a short term or long term fix? Do you think the data is going to magically spread over the two partitions? I'm confused.


All times are GMT -5. The time now is 11:05 AM.