LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-09-2012, 05:16 AM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
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.
 
Old 03-09-2012, 05:21 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.
 
Old 03-09-2012, 05:30 AM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,249

Rep: Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579Reputation: 579
Gparted-live-cd resize / by taking space from /home
 
Old 03-09-2012, 05:51 AM   #4
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
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.
 
Old 03-09-2012, 05:53 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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.

Last edited by acid_kewpie; 03-09-2012 at 05:55 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Kernel Panic: unable to mount root filesystem... Firefox54 Linux - General 11 05-31-2011 02:49 PM
no filesystem could mount root,tried: romfs kernel panic - not syncing: vfs: unable t Mrenigma Slackware 2 03-23-2010 01:47 AM
Unable to mount the filesystem /root in fedora 8 rombright Linux - Newbie 1 05-22-2008 05:55 PM
Kernel Panic unable to mount root filesystem mrinal mishra Linux - Kernel 4 05-03-2006 08:47 AM
Unable to mount my root filesystem !!! Manhatten101 Linux - Enterprise 2 09-06-2005 03:12 PM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration