I am trying to install mysql on NSS volume and OES2, each time I run mysqld_safe I am getting following error:

090622 16:54:21 mysqld started
090622 16:54:21 InnoDB: Operating system error number 22 in a file operation.
InnoDB: Error number 22 means 'Invalid argument'.
InnoDB: Some operating system error numbers are described at
InnoDB: MySQL :: MySQL 5.0 Reference Manual :: Operating System Error Codes
InnoDB: File name /media/nss/data/mysql/ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
090622 16:54:21 mysqld ended

Please advice.