Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Hardware Support
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Hardware Support Do you have any problems with installing new hardware under SuSE Linux? Post your question in here...

 
Page 1 of 2 1 2
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 26-May-2008, 16:19
silkmaze
Guest
 
Posts: n/a
Default

I have three HDD's in my system. the first drive is partitioned into the / and /home. The other two are on their own, kinda for my own use, films, music, work, backups of work from /home and email backups.

I must have done something something wrong during the installation because I can't access my second drive at all. When I checked, using Konq, I saw that the the owner of the first drive (the partitioned one) and the third drive (my multimedia one) was silkmaze, that's me. However the owner of the second drive, the one I want to use for other stuff, is root.

How can I change the ownership of the drive from root to silkmaze, thus allowing me to use the drive as I want to?


Thank you.
  #2 (permalink)  
Old 27-May-2008, 02:11
deltaflyer
Guest
 
Posts: n/a
Default

what file system does the drive use ? fat32/ntfs/ext/reiser/xfs ? bit more detail might help in soliciting an answer

Andy
  #3 (permalink)  
Old 27-May-2008, 02:29
hcvv
Guest
 
Posts: n/a
Default

And tell us how you determine 'ownership' of a drive, or what you mean by 'ownership of a drive'. IMHO UIDs do not own drives. They own files/directories.

Drives are partitioned. And the partitions may be mounted somewhere on a directory (owned by UID) and then directories/files (with owners like every other file/directory) will be found (or can be created) downwards from the mountpoint in the directory tree.
  #4 (permalink)  
Old 27-May-2008, 17:40
silkmaze
Guest
 
Posts: n/a
Default

The drive in question is has ext3 FS. As for the ownership, here is what I see in Konqueror:



[attachmentid=2419]


As you can see, the owner of drive IntHD2 is root.
  #5 (permalink)  
Old 28-May-2008, 02:44
hcvv
Guest
 
Posts: n/a
Default

Sorry, I may be a bit stupid asking this. I now see how you got the information, that means I see it partialy, but I cannot see how you got Konqueror to display this. because that part of the picture (the location bar) is missing and I never use a GUI for this type of system management. So now I have Konqi telling something, but I do not know where konqi got its information (like earlier did not understand where you got it from).

We will try something different.
There is a difference between the two mounts so we have to compare things about the mounts to see where the difference is. In a terminal, as root do a ls -dl of both mountpoints like:
ls -ld /mount/point/disk1
ls -ld /mount/point/disk2
and see who are the owners/groups of those. When one of them is root root and the other silkmaze root then do:
chmod silkmaze:users /mount/point/diskx
and see if this helps.
  #6 (permalink)  
Old 28-May-2008, 20:49
silkmaze
Guest
 
Posts: n/a
Default

Quote:
ls -ld /mount/point/disk1
ls -ld /mount/point/disk2
[/b]
I don't quite know what to insert at "/mount/point/disk1". The various things I did put it didn't get me anything except a error message.

I did take a snapshot of the fstab, if that helps.

[attachmentid=2422]

It is drive IntHD2 that I want to get access to. I am having no problems with IntHD3, which is the third internal drive.
  #7 (permalink)  
Old 29-May-2008, 04:41
hcvv
Guest
 
Posts: n/a
Default

It seems that sometimes we are talking different languages

1. As you wrote about using the extra 'drives' for your personal (that means user sikmaze) data I supposed that they are mounted somewhere inside your home directory (/home/silkmaze) on something like /home/silkmaze/music or wherever silkmaze wanted this diskspace. That is not a 'must' (after all you can mount where you want) but it seemed logical. I stated it more general as /mount/point/... . I supposed that you would know where you mounted those things. After all you did it yourself (or did you inherrent the system from somebody else?).

2. Now, as you start providing real data (by posting your /etc/fstab) we can assess the real situation.
(BTW is is not that difficult to copy and past data like /etc/fstab directly in a post, that makes it easier for me to copy from it, now I have to type a lot )

We have three disks (or drives, or HDDs), I did not retype the full names but only the first few characters of each because that already makes them unique in this case:
ST35, SAMSUNG and WDC.
Eacht of them is partitioned (of course) and we do see the following partitions (there may be more, but that can not be seen here):
ST35 has part5
SAMSUNG has part1 and part5
WDC has part1 and part5
I do not know why these somewhat strange partitioning, but as said we do not have the full partition picture here.

What is the usage of these partitions?
SAMSUNG-part1 is mounted as / (the root file system)
SAMSUNG-part5 is mounted as /home
WDC-part1 is used for SWAP
WDC-part5 is mounted as /IntHD3
ST35-part-part5 is mounted as /IntHD2

You stated in your first post:
Quote:
I have three HDD's in my system. the first drive is partitioned into the / and /home. The other two are on their own, kinda for my own use, films, music, work, backups of work from /home and email backups. [/b]
But that is not completely true. SWAP is on the WDC disk, so that disk is also part of the 'system disks'.

Now back to the ls -ld statments. They shoud of course be:
ls -ld /IntHD2
ls -ld /IntHD3

I repeat that it was your decission to mount these partitions directly in / and not somewhere else (like /home/silkmaze), and you gave those directories the names IntHD2 and IntHD3 Which IMHO tells more about their physical existance then about there logical usage (apart from being hard to type).

(It reminds me a bit of primitive OS's like MS-DOS where you could only have disks on the upper level more or less outside the directory tree and you could only give them useless names like A, B, C ,etc.)
  #8 (permalink)  
Old 29-May-2008, 17:15
silkmaze
Guest
 
Posts: n/a
Default

Gotcha. Here is what I get with

ls -ld /IntHD2
ls -ld /IntHD3


[attachmentid=2424]


You're right I did forget about the swap partition.

The first drive has been partitioned into :
<blockquote>/ 20GB
/home 378GB</blockquote>


The second drive - IntHD2 has not been partitioned at all. It is a new drive That I wanted to store stuff in.
This is the drive that I cannot access.


The third drive - IntHD3 has been partitioned into :
<blockquote>/MyStuff 144GB
/swap 4GB (twice the size of my RAM)</blockquote>
  #9 (permalink)  
Old 29-May-2008, 23:12
bozo
Guest
 
Posts: n/a
Default

Quote:
The second drive - IntHD2 has not been partitioned at all. It is a new drive That I wanted to store stuff in.
This is the drive that I cannot access.[/b]
You've answered your question. The drive needs to be partitioned. Go to yast and do so, and you will be able to access it.
  #10 (permalink)  
Old 30-May-2008, 02:28
hcvv
Guest
 
Posts: n/a
Default

The only thing to do as root is
chmod slkmaze:users /IntHD2
Don't you see that yourself???????

And please again: do not add pictures to your posts when you only have to past the text directly in the post. It is very anoying!!!!!!!!!!
 
Page 1 of 2 1 2

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2