LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-29-2007, 07:43 PM   #1
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Rep: Reputation: 30
Trying to change mount points...no joy...


During a recent reinstall of 10.2 I mistakenly assigned a partition of a second drive (72GB-ext3 FS) to a mount point of /usr. I wanted to use that partition for /home and /root backup. I have a third drive with a linux partition (25GB-ext3 FS) on it and have successfully mounted it at /music off the /. I want to do the same with the 72GB partition but when I try to reassign it to /homeroot_bkup I receive the following error.

System error code was: 3302

This code I can not anywhere on Google.
I am using the partitioning tool in YAST
Can I change the mount pt to /homeroot_bkup via fstab?
When I open either the /usr directory or the 72GB partition they are identical. Same size, same content....???
I'm not sure what I'm looking at, is it the /usr directory with the contents of the 72GB partition? Or is it the 72GB partition with the contents of /usr?
 
Old 10-30-2007, 01:35 AM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
type mount. what do you see?

What does your /etc/fstab look like?

what does fdisk say about the hard drive and this partiton?
 
Old 10-30-2007, 07:32 AM   #3
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Original Poster
Rep: Reputation: 30
Micro420....mount and fstab results

mount =
/dev/hde2 is the partition in question:

linuxfan:/home/cbjhawks # mount
/dev/hda6 on / type ext3 (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hda7 on /home type ext3 (rw,acl,user_xattr)
/dev/hde5 on /home_backup type ext3 (rw)
/dev/hde2 on /usr type ext3 (rw)
/dev/hda1 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/hdb1 on /windows/D type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
/dev/hde1 on /windows/E type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
securityfs on /sys/kernel/security type securityfs (rw)
linuxfan:/home/cbjhawks #

fstab =

/dev/hda6 / ext3 acl,user_xattr 1 1
/dev/hda7 /home ext3 acl,user_xattr 1 2
/dev/hde5 /home_backup ext3 defaults 1 2
/dev/hde2 /usr ext3 defaults 1 2
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb1 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hde1 /windows/E ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda5 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
/dev/fd0 /media/floppy auto noauto,user,sync 0 0

Not sure how to use fdisk program/command
Thoughts?
 
Old 11-01-2007, 09:24 AM   #4
terryxela
Member
 
Registered: Dec 2006
Location: Denver, Colorado, USA
Distribution: SuSE 11.3
Posts: 127

Rep: Reputation: 17
During installation you decided to install one of the key directories of linux /usr in that particular partition. /usr is like the dll directory under windows. Linux can not operate without it. So you would have to move it to another location. This is not a simple problem and even if "successful" you may have problems as you use it. So the best would be to reinstall linux if that partition is so important to you.

BTW, you can not mount more that "one file system" to the same mounting point so you can not mount /usr and /home to /dev/hd2

-=terry(Denver)=-
 
Old 11-02-2007, 08:07 AM   #5
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Original Poster
Rep: Reputation: 30
terryxela...what about the size?

I would quess that I was looking at the 72gb when I view the /usr directory...or what am I looking at?....I dont plan on deleting/changing
anything in the /usr directory. I understand what that directory holds...Is it safe to write to the partition/usr dir.?
Reinstall was just completed the first of Oct....I dont want to go
down that road.

Would changing the /etc/fstab file to mount the partition as /linux_bkup to /dev/hd2 work...leaving /usr alone?

Or, should I just live with it? I can burn the files I need during monthly
backup.

Last edited by cbjhawks; 11-02-2007 at 08:11 AM.
 
Old 11-02-2007, 02:58 PM   #6
sadiqdm
Member
 
Registered: Nov 2003
Location: London, UK
Distribution: openSUSE, Ubuntu
Posts: 358

Rep: Reputation: 35
As root can you do:
Code:
$ fdisk -lu
and post the result?
 
Old 11-02-2007, 04:10 PM   #7
cbjhawks
Member
 
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Original Poster
Rep: Reputation: 30
sadiqdm, here is the result...interesting info...thanks

linuxfan:/home/cbjhawks # fdisk -lu

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 63 94654979 47327458+ 7 HPFS/NTFS
/dev/hda2 94654980 156296384 30820702+ f W95 Ext'd (LBA)
/dev/hda5 94783500 95217254 216877+ 82 Linux swap / Solaris
/dev/hda6 95217318 121547789 13165236 83 Linux
/dev/hda7 121547853 156296384 17374266 83 Linux

Disk /dev/hdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 63 488392064 244196001 7 HPFS/NTFS

Disk /dev/hde: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders, total 390721968 sectors
Units = sectors of 1 * 512 = 512 bytes

Device Boot Start End Blocks Id System
/dev/hde1 * 63 175028174 87514056 7 HPFS/NTFS
/dev/hde2 237103335 390716864 76806765 83 Linux
/dev/hde3 175028175 237103334 31037580 f W95 Ext'd (LBA)
/dev/hde5 175028238 237103334 31037548+ 83 Linux

Partition table entries are not in disk order
 
  


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
mount one device to two mount points secretlydead Linux - General 3 03-28-2007 05:30 AM
Mount points change when raid controller installed AYMTA Linux - Hardware 2 03-02-2006 05:50 AM
creating mount points and is the data safe if i change system JMK Linux - Newbie 4 01-22-2004 09:57 AM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 05:48 AM
mount points... Jeffrey Linux - General 6 02-24-2001 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:11 PM.

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