How can I check if I have raw filesystem on unix/linux


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How can I check if I have raw filesystem on unix/linux
# 1  
Old 03-24-2009
How can I check if I have raw filesystem on unix/linux

Hello again.
Please can someone tell me how can i check if my filesystem is raw on unix/linux ?
Is there some file to check or something like that to be sure ?

also ,
when i do :


$ ls -l /dev/rdisk

i get among other things , this also(there resides are oracle related files) :

Code:
crw-r-----   1 oracle     dba         23 0x0000ae Mar 24 15:35 disk161
crw-r-----   1 oracle     dba         23 0x0000af Mar 24 15:35 disk162
crw-r-----   1 oracle     dba         23 0x0000b0 Mar 24 15:35 disk163
crw-r-----   1 oracle     dba         23 0x0000b1 Mar 24 15:35 disk164
crw-r-----   1 oracle     dba         23 0x0000b2 Mar 24 15:35 disk165
crw-r-----   1 oracle     dba         23 0x0000b3 Mar 24 15:35 disk166
crw-r-----   1 oracle     dba         23 0x0000b4 Mar 24 15:35 disk167
crw-r-----   1 oracle     dba         23 0x0000b5 Mar 24 15:35 disk168

can just by this output of this ls -l be known that those are raw filesystems ?
# 2  
Old 03-24-2009
try
Code:
# list raw devices
ls -lR /dev/raw*
# and show bound raw devices
raw -qa

I thought Linux raw devices were deprecated - being phased out....
# 3  
Old 03-25-2009
Quote:
Originally Posted by jim mcnamara
try
Code:
# list raw devices
ls -lR /dev/raw*
# and show bound raw devices
raw -qa

I thought Linux raw devices were deprecated - being phased out....
thx for reply ...

i got this :

Code:
$ ls -lR /dev/raw*
crw-rw-rw-   1 root       root        72 0x00004d Mar 19 16:17 /dev/rawip
crw-rw-rw-   1 root       root        72 0x00004e Mar 19 16:17 /dev/rawip6
$ raw -qa
ksh: raw:  not found
$ bash
bash-3.2$ raw -qa
bash: raw: command not found
bash-3.2$

can i say then those listed above by ls -l /dev/rdisk (..disk167..) are not raw devices ?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

linux 8e vs raw disk

Hi All, Hope someone can help me with this. I have noticed that on some of the servers i am currently administering there is a difference in the setup of some of the LVM disks. Some of the disks have been created by SN disk allocated, disk partitioned using type 8e over the entire disk,... (2 Replies)
Discussion started by: Tommyk
2 Replies

2. HP-UX

Converting RAW Disks to Filesystem

Hi, We have a new server which has 2.7 TB RAW Disk.Outof this we want to convery 1.2 TB to filesystem and nfs mount it on one of the servers. After our activity we need to convert this back to RAW Disks. Please let me know if this is possible and the complexity involved. Regards, VN (1 Reply)
Discussion started by: narayanv
1 Replies

3. UNIX for Dummies Questions & Answers

How to check if an application has been installed on a unix/linux box?

hi, guys, now I face a problem. I have developed an application, and when it starts, it shall check if an application has been installed on the running linux/unix. If result is positive, i do something with the application command. just as an example: I want to check if sshd has been... (3 Replies)
Discussion started by: sk1418
3 Replies

4. SuSE

filesystem from unix 32 to linux 64

Hi all. Im migrating from a Unix 32 bit to a linux suse 10 64 bit and would like to know whats the best way to migrate the filesystems? cpio? tar? ftp? Could I make a backup in tape in the unix 32 and restore it in the linux 64? thanx (1 Reply)
Discussion started by: mrodrig
1 Replies

5. UNIX for Advanced & Expert Users

raw device in Linux

Hello group, Is it possible to use partition on a disk as a raw device? I have a LUN on a SAN which I would like to partition and use those partitions as raw device. If it is feasable, how do I bind them to a device? For example, say sdd has 3 partitions on it, sdd1, sdd2 and sdd3. Can I... (1 Reply)
Discussion started by: bfay
1 Replies

6. Shell Programming and Scripting

Script to Check for Unix/Linux Passwords

We have almost 100+ Unix/Linux servers, on which I have account. Does anybody have a batch script which can do the following : - check if my password is correct - change my password We use SFTP/SSH on Linux. The solution should force reading of password from command line. ( Passwordless... (1 Reply)
Discussion started by: lucknowm
1 Replies

7. Linux

Raw partition check

Hi I have Redhat linux 9. How can I check the size of a raw partition Regards, Raja Cool Linux!!! (2 Replies)
Discussion started by: RajaRC
2 Replies

8. UNIX for Advanced & Expert Users

Raw vs. Filesystem?

Maybe this is the wrong forum to start this debate and I apologize if it is, but I have been wondering for some time which is better to use for a database, raw or filesystem? By better I mean don't just mean better performance but also ease of maintenance, etc. I know that several years ago it... (5 Replies)
Discussion started by: keelba
5 Replies
Login or Register to Ask a Question