LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-14-2006, 06:02 AM   #1
rushy2uk
LQ Newbie
 
Registered: Aug 2006
Location: UK
Distribution: SuSE
Posts: 13

Rep: Reputation: 0
Cannot mount a partition. Please help!


I've just noticed that my SuSE server has been running a bit sluggish recently. On further investigation, it seems like it's not using a 21GB partition (sda2).

When I view the properties of sda2, it shows as unmounted, and when I try to calculate the size, it says "permission denied".

A screenprint can be seen here: http://upp-uk.com/assets/forum_pix/screenprint.jpg

Here is the output from "fdisk -l" if it helps:
Code:
Disk /dev/sda: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         262     2104483+  82  Linux swap / Solaris
/dev/sda2   *         263        2873    20972857+  83  Linux
/dev/sda3            2874        9730    55078852+   f  W95 Ext'd (LBA)
/dev/sda5            2874        5484    20972826   83  Linux
/dev/sda6            5485        9730    34105963+  83  Linux
I was about to play around in the Partitioner Yast module, but thought I'd better get more info before screwing up the whole server!!

Here's a screenprint of Partitioner, that I was about to use:
http://upp-uk.com/assets/forum_pix/screenprint2.jpg

Is it ok to use this module?
I just want to add extra space to the root drive.
I thought Linux just sees everything as one big drive, but now I'm confused with this unmounted partition.

How can I resolve this problem?
 
Old 08-14-2006, 07:45 AM   #2
J3N7iL
Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Gentoo
Posts: 53

Rep: Reputation: 15
the little start next to your sda2 in fdisk means its your boot partition, if it wasant working your system wouldent boot up. I would deffinatly leave it alone. your boot partition should mount to

Code:
/boot/
thier is really nothing you should put in thier unless your recompiling your kernel, other wise its safer to have it unmounted when the server is running, this keeps apps from accssing you grub.

If this is an external storage (which i think it is since its on a scsi) you may have partitioned it as a system disk and not a storage disk, im not certain how suse does what it does.

use Gentoo

Last edited by J3N7iL; 08-14-2006 at 07:48 AM.
 
Old 08-14-2006, 08:43 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,465

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
The asterisk next to sda2 is the boot flag but linux does not use it.
20 gb is slightly on the large size for a dedicated /boot partition. If you look in /boot and see files then it is part of the sda5 partition.

All filesystems are attached i.e. mounted to the tree with / being the top.
Even though sda2 is not mounted it should not effect the speed of the OS. Do you have an entry in the /etc/fstab file for this partition? If it is then check the output of dmesg and the logs for errors. You can mount it like

mount -t reiserfs /dev/sda2 /media/whatever (create the whatever directory if it does not already exist)
 
Old 08-15-2006, 06:49 AM   #4
rushy2uk
LQ Newbie
 
Registered: Aug 2006
Location: UK
Distribution: SuSE
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk
The asterisk next to sda2 is the boot flag but linux does not use it.
20 gb is slightly on the large size for a dedicated /boot partition. If you look in /boot and see files then it is part of the sda5 partition.

All filesystems are attached i.e. mounted to the tree with / being the top.
Even though sda2 is not mounted it should not effect the speed of the OS. Do you have an entry in the /etc/fstab file for this partition? If it is then check the output of dmesg and the logs for errors. You can mount it like

mount -t reiserfs /dev/sda2 /media/whatever (create the whatever directory if it does not already exist)
Thanks for the replies guys!
Here is the contents of etc/fstab :
Code:
/dev/sda5            /                    reiserfs   acl,user_xattr        1 1
/dev/sda6            /home                reiserfs   acl,user_xattr        1 2
/dev/sda1            swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
There are files within the /boot directory, here's a screenprint of the properties: http://www.upp-uk.com/assets/forum_p...properties.png

I mounted sda2 to /test by running this command:
Code:
mount -t reiserfs /dev/sda2 /test
Now, when I go into /test is see a load of folders, shown in this screenprint: http://www.upp-uk.com/assets/forum_p..._directory.png

This made me wonder if my previous installation attempt may have caused this? I installed once before on the server, but decided to reinstall afterwards.

Is it safe to delete these folders in /test now?

How can I permanently mount sda2 so that there is more hard drive space for the system as a whole?
 
Old 08-15-2006, 07:33 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,465

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
It is possible that this was an old install and it is safe to delete.

You can not add the space to / or /home easily but you could move /var or /usr to this partition or just use it for data.
 
Old 08-15-2006, 08:40 AM   #6
linuxnut2003
Member
 
Registered: Nov 2003
Location: Oklahoma, USA
Distribution: gentoo
Posts: 73

Rep: Reputation: 15
to add this partition as a "permanently mounted" partition you would have to add a line to /etc/fstab resembling this so it will be mounted automatically at boot
Code:
/dev/sda2    /mnt/storage    reiserfs    rw,noexec    0    0
for more info run man 8 mount
 
Old 08-15-2006, 02:31 PM   #7
rushy2uk
LQ Newbie
 
Registered: Aug 2006
Location: UK
Distribution: SuSE
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk
It is possible that this was an old install and it is safe to delete.

You can not add the space to / or /home easily but you could move /var or /usr to this partition or just use it for data.
Can I not repartition the hard drive somehow to add the space allocated to sda2, to sda5 say?
If so, how would I do this?
 
Old 08-15-2006, 02:53 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,465

Rep: Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218Reputation: 6218
No, AFAIK you can not move a reiserfs filesystem.
 
Old 08-15-2006, 03:45 PM   #9
rushy2uk
LQ Newbie
 
Registered: Aug 2006
Location: UK
Distribution: SuSE
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk
No, AFAIK you can not move a reiserfs filesystem.
Wow I'm shocked!
I would have thought you could repartition a hard drive with Linux, as Windows has a application called Partitionmagic, and I've always found equivalents for Linux so far.

Can anybody else confirm this?
 
Old 08-16-2006, 03:36 AM   #10
rushy2uk
LQ Newbie
 
Registered: Aug 2006
Location: UK
Distribution: SuSE
Posts: 13

Original Poster
Rep: Reputation: 0
Anybody???
 
  


Reply

Tags
suse


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
installed FC 3 on another partition but can not mount that partition. MurX Fedora 15 02-01-2006 06:28 AM
Cant mount partition bvav22 Linux - Hardware 1 06-05-2005 10:04 PM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 09:56 AM
can't mount partition greklas Linux - Newbie 3 09-04-2004 11:45 AM
Why does my XP partition never mount? Kramer Linux - Laptop and Netbook 9 09-26-2003 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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