Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi All,
I have a linux machine which is a backup server and is running out of space.
this has 2 hard disks (phisical volumes... sda and sdb), please see output of fdisk command below:
[root@support /]# fdisk -l
Disk /dev/sda: 254 heads, 63 sectors, 2221 cylinders
Units = cylinders of 16002 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 8 13 48006 83 Linux
/dev/sda2 14 332 2552319 83 Linux
/dev/sda3 333 2221 15113889 5 Extended
/dev/sda4 1 7 55975+ fe LANstep
/dev/sda5 333 398 528034+ 82 Linux swap
Partition table entries are not in disk order
Disk /dev/sdb: 254 heads, 63 sectors, 8885 cylinders
Units = cylinders of 16002 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 2622 20978590+ 83 Linux
/dev/sdb2 2623 3933 10489311 83 Linux
/dev/sdb3 3934 6555 20978622 83 Linux
/dev/sdb4 6556 8885 18642330 5 Extended
/dev/sdb5 6556 7866 10489279+ 83 Linux
/dev/sdb6 7867 8522 5248624+ 83 Linux
/dev/sdb7 8523 8885 2904331+ 83 Linux
[root@support /]#
I want to create new partitions but the problem is that i have run out of space on the disk. (i get the error no free sectors available).
I physically added a new harddisk of 34 gb into the raid array and ran the IBMs serveraid tool. When i rebooted my machine, i dont see any additional space in the existing partitions, nor do i see any new phisical volumes like /dev/sdc in the fdisk output (the output above is the one i got after a reboot).
Is there some configuration i need to do on the linux side inorder to start using the new disk? Please advice.
I'm totally unfamiliar with your hardware, and I don't know the serveraid program. But...
- When adding a new disk, I would not expect new space to appear in raid arrays. I think LVM needs to be used for that
- I'm a bit confused about the raid part too. You say you have two physical disks. fdisk -l lists two disks. I'm not sure if you even have raid.
- I would expect a new physical volume (/dev/sdc or somesuch) to appear
- fdisk -l isn't showing all disks on my system either, I don't know why
- Apparently, fdisk -l consults /proc/partitions, which correctly lists all my disks. Try
Code:
grep disc /proc/partitions
- Alternatively, try
Code:
less /var/log/messages
and try to locate the kernel messages that detect the disc. Search for sda for example. My log says:
Since LVM is not configured or running - I guess I will use Parted to move and expand the current partitions as it seems like the best tool to use for the situation, but check out my hdd partition info below as it seems to create more questions than it answers :-0 . BTW, if anyone has a better way to skin this cat, please let me know. Below is my disk info.
This machine is an IBM x226 running RHES and was loaded by IBM. It came with 1GB of RAM but they only have it about 500MB's of swap and only a couple of hundered MB for /var (that would complicate any serious logging). Also, are those Win95 partitions needed for the serveraid? The linux partitions are within these Win95 partitions. I've never seen this before.
I added the 2 250GB hdd's and extended the RAID with IBM's serveraid. I thought it would extend it's own volume but it only did the physycal part and left me to mess with the partitions (oh yay).
Fileserver HDD info:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.