LinuxQuestions.org
Review your favorite Linux distribution.
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 05-06-2015, 03:13 AM   #1
mkhurramkhurshid
LQ Newbie
 
Registered: May 2015
Location: Rawalpindi, Pakistan.
Posts: 3

Rep: Reputation: Disabled
Question How to increase rootfs space on NAS?


Dear gurus,

I am using NAS with Linux BizNAS-02H5 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64 GNU/Linux OS version.

I am facing problem with rootfs / , it is 100% full, its total size is 9.7GB.

Now i want to increase the space of rootfs, i have free space on attached drives, both partioned and unpartioned space is free,

How can I mount space on root folder or ( / ) folder.

Regards,

Khurram Khurshid
 
Old 05-07-2015, 02:53 PM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,158

Rep: Reputation: 238Reputation: 238Reputation: 238
Do you have free space just after your / partition?
If so, you can use gparted from a live distro to increase the / partition.

Alternately, you if / includes /var then you could free up space with
Code:
sudo apt-get clean
This will remove all package downloads (but not the packages themselves).
The space savings can sometimes be considerable.
 
Old 05-09-2015, 02:01 AM   #3
mkhurramkhurshid
LQ Newbie
 
Registered: May 2015
Location: Rawalpindi, Pakistan.
Posts: 3

Original Poster
Rep: Reputation: Disabled
Dear Jeremy thanks for the reply, but its not applicable in my environment, as I told in my early post I am using NAS so there is no GNOME or other graphical interface, i have to connect through Putty.

there is less than 130MB users by /var folder.
 
Old 05-09-2015, 06:30 AM   #4
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,731

Rep: Reputation: 121Reputation: 121
You can use Gparted to move/resize the partitions.
 
Old 05-09-2015, 06:37 AM   #5
mkhurramkhurshid
LQ Newbie
 
Registered: May 2015
Location: Rawalpindi, Pakistan.
Posts: 3

Original Poster
Rep: Reputation: Disabled
login as: XXXX
admin@10.5.1.50's password:
Linux BizNAS-02H5 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat May 9 11:15:33 2015 from 10.5.1.101
admin@BizNAS-02H5:~$ sudo -i
[sudo] password for admin:
root@BizNAS-02H5:~# Gparted --help
-bash: Gparted: command not found
root@BizNAS-02H5:~#
 
Old 05-09-2015, 07:04 AM   #6
Keruskerfuerst
Senior Member
 
Registered: Oct 2005
Distribution: SLES 12
Posts: 1,731

Rep: Reputation: 121Reputation: 121
You can start Gparted from a CD: http://sourceforge.net/projects/gpar...d-live-stable/

or you can install it from command line by: apt-get install gparted.
 
Old 05-09-2015, 07:14 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,805

Rep: Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168Reputation: 2168
*nix is case sensitive - Gparted is not the same as gparted.
If the only access you have is ssh, then gparted will not change mounted partitions. Too little (no) information to make sensible suggestions. Post the output of these
Code:
df -hT
lsblk
parted /dev/sda "print free"

Last edited by syg00; 05-09-2015 at 07:27 AM. Reason: Double posted for some reason
 
Old 05-09-2015, 07:24 AM   #8
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,158

Rep: Reputation: 238Reputation: 238Reputation: 238
This won't work - even if you were able to install gparted.
You need to unmount any partition to be resized.

Do you have enough space to create a new bigger root partition?
You could restore a full backup of the old root to the new root, on a file by file basis.
Perform a couple of necessary changes to a couple of config files to point to the new partition.
Then reboot.

Other people may have simpler or much better ways of accomplishing the above.
 
Old 05-09-2015, 08:19 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,027

Rep: Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851
I believe this is a Tandberg device. If not please post the make/model.

The NAS is an appliance with ssh access only so typical desktop methods will not work. As stated there isn't enough information provided to know how the device is configured. I did discover that when the disks are built the firmware copies its operating system to a hidden raid. I would expect during the build process that all available space would be used.

It might be possible to add space to the raid.

Check /var/log to see if any are failing to rotate. I would also find the largest files.

http://www.cyberciti.biz/faq/how-do-...sd-filesystem/

By the way you can install packages but the device needs to be configured first.
http://www.tandbergdata.com/knowledg...ons-on-biznas/
 
  


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
How to allocate more space to rootfs? Docky Linux - Newbie 12 09-03-2012 04:55 PM
"No space left on device" - rootfs image build error sjremya Linux - Software 2 08-30-2010 12:16 AM
user need to increase space to run a program its showing not enough space svani Red Hat 4 04-16-2010 04:04 AM
Increase Storage space of Server with NAS/DAS device via gigabit ethernet tliggins Linux - Networking 7 02-09-2010 11:14 AM
hard disk partitioning/I am out of space /how to increase linux space? RMLinux Red Hat 8 09-05-2008 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration